summaryrefslogtreecommitdiff
path: root/plugins/time/Makefile.am
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-08 17:19:30 +0200
committerinfirit <[email protected]>2015-09-08 17:19:30 +0200
commitca8ca6923e74bb307bfe6c99c691399987eda7ed (patch)
tree81443d808378577ab19fe39beda57755788ecd3f /plugins/time/Makefile.am
parent3d9e640cc4221a43d214951da5cbdc43c4f55662 (diff)
downloadpluma-ca8ca6923e74bb307bfe6c99c691399987eda7ed.tar.bz2
pluma-ca8ca6923e74bb307bfe6c99c691399987eda7ed.tar.xz
Rework gsettings schema building
* Bump intltool required version for gsettings support * Extract strings with intltool directly * Let autoconf generate the xml files
Diffstat (limited to 'plugins/time/Makefile.am')
-rwxr-xr-xplugins/time/Makefile.am8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/time/Makefile.am b/plugins/time/Makefile.am
index 0c270b8a..d1f8fe3b 100755
--- a/plugins/time/Makefile.am
+++ b/plugins/time/Makefile.am
@@ -28,13 +28,11 @@ plugin_in_files = time.pluma-plugin.desktop.in
plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin)
@INTLTOOL_XML_NOMERGE_RULE@
-gsettings_SCHEMAS = org.mate.pluma.plugins.time.gschema.xml
+time_gschema_in = org.mate.pluma.plugins.time.gschema.xml.in
+gsettings_SCHEMAS = $(time_gschema_in:.xml.in=.xml)
@GSETTINGS_RULES@
-%.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
+EXTRA_DIST = $(ui_DATA) $(plugin_in_files) $(time_gschema_in)
CLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS_in) $(gsettings_SCHEMASn)
DISTCLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS_in) $(gsettings_SCHEMAS)