summaryrefslogtreecommitdiff
path: root/plugins/time/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-01-24 21:06:15 +0100
committerStefano Karapetsas <[email protected]>2013-01-24 21:06:15 +0100
commitf2b686d6f67dacc30c0f497a99485e279def6cf4 (patch)
treee9dbc5c299f1175a815e6b4642b7f516e833fc99 /plugins/time/Makefile.am
parent0a745cb559ffbcfad564437b214e649e0476d0f3 (diff)
downloadpluma-f2b686d6f67dacc30c0f497a99485e279def6cf4.tar.bz2
pluma-f2b686d6f67dacc30c0f497a99485e279def6cf4.tar.xz
time: Migrate to GSettings
Diffstat (limited to 'plugins/time/Makefile.am')
-rwxr-xr-xplugins/time/Makefile.am13
1 files changed, 10 insertions, 3 deletions
diff --git a/plugins/time/Makefile.am b/plugins/time/Makefile.am
index bfb442b6..398e84b4 100755
--- a/plugins/time/Makefile.am
+++ b/plugins/time/Makefile.am
@@ -27,10 +27,17 @@ plugin_in_files = time.pluma-plugin.desktop.in
plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin)
-EXTRA_DIST = $(ui_DATA) $(plugin_in_files)
+@INTLTOOL_XML_NOMERGE_RULE@
+gsettings_SCHEMAS = org.mate.pluma.plugins.time.gschema.xml
+@GSETTINGS_RULES@
-CLEANFILES = $(plugin_DATA)
-DISTCLEANFILES = $(plugin_DATA)
+%.gschema.xml.in: %.gschema.xml.in.in Makefile
+ $(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@
+
+EXTRA_DIST = $(ui_DATA) $(plugin_in_files) $(gsettings_SCHEMAS_in_in)
+
+CLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS_in) $(gsettings_SCHEMASn)
+DISTCLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS_in) $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk