summaryrefslogtreecommitdiff
path: root/maximus/Makefile.am
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-08 12:39:43 +0200
committerinfirit <[email protected]>2015-09-08 12:39:43 +0200
commitddf66032a7375c70befe4a0d72ba04d7bc6b0f15 (patch)
treef6cc61780b35fa67e7b1cf54e318a3ecb449804b /maximus/Makefile.am
parenteb03540f077e40956544234451975001ab2fa4f0 (diff)
downloadmate-netbook-ddf66032a7375c70befe4a0d72ba04d7bc6b0f15.tar.bz2
mate-netbook-ddf66032a7375c70befe4a0d72ba04d7bc6b0f15.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 'maximus/Makefile.am')
-rw-r--r--maximus/Makefile.am13
1 files changed, 4 insertions, 9 deletions
diff --git a/maximus/Makefile.am b/maximus/Makefile.am
index b1994a4..3326b6b 100644
--- a/maximus/Makefile.am
+++ b/maximus/Makefile.am
@@ -31,14 +31,11 @@ mate_maximus_SOURCES = \
xutils.h
@INTLTOOL_XML_NOMERGE_RULE@
-gsettings_SCHEMAS = org.mate.maximus.gschema.xml
+gsettingsschema_in_files = org.mate.maximus.gschema.xml.in
-gsettings_SCHEMAS_in_in = $(gsettings_SCHEMAS:.xml=.xml.in.in)
+gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
@GSETTINGS_RULES@
-%.gschema.xml.in: %.gschema.xml.in.in Makefile
- $(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@
-
convertdir = $(datadir)/MateConf/gsettings
convert_DATA = mate-maximus.convert
@@ -47,8 +44,6 @@ dist_desktop_DATA=mate-maximus-autostart.desktop
man_MANS = mate-maximus.1
-CLEANFILES = $(gsettings_SCHEMAS) \
- $(gsettings_SCHEMAS_in)
-
+CLEANFILES = $(gsettings_SCHEMAS) *.gschema.valid
-EXTRA_DIST = $(gsettings_SCHEMAS_in_in) $(convert_DATA) $(man_MANS)
+EXTRA_DIST = $(gsettingsschema_in_files) $(convert_DATA) $(man_MANS)