summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-08 15:38:03 +0200
committerinfirit <[email protected]>2015-09-08 15:38:26 +0200
commit9c159beee589a225cfd7d7d9aede5a3b7948e9d7 (patch)
tree57516d1a7cc53f19e0a75e49564a943a1e344557 /src/Makefile.am
parent67aa8ee63cca12aac5fff8ae6548d0e210021bba (diff)
downloadmate-system-monitor-9c159beee589a225cfd7d7d9aede5a3b7948e9d7.tar.bz2
mate-system-monitor-9c159beee589a225cfd7d7d9aede5a3b7948e9d7.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 'src/Makefile.am')
-rw-r--r--src/Makefile.am11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index f8a852f..7d40152 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -64,13 +64,11 @@ specdir = $(datadir)/procman
# GSettings schemas, enum files and conversion file
gsettings_ENUM_NAMESPACE = org.mate.system-monitor
gsettings_ENUM_FILES = $(top_srcdir)/src/*.h
-gsettings_SCHEMAS = org.mate.system-monitor.gschema.xml
+gsettingsschema_in_files = org.mate.system-monitor.gschema.xml.in
+gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
@GSETTINGS_RULES@
@INTLTOOL_XML_NOMERGE_RULE@
-%.gschema.xml.in: %.gschema.xml.in.in Makefile
- $(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@
-
convertdir = $(datadir)/MateConf/gsettings
dist_convert_DATA = mate-system-monitor.convert
@@ -78,10 +76,9 @@ dist_noinst_DATA = \
$(gsettings_in_file)
CLEANFILES = \
- $(gsettings_SCHEMAS) \
- $(gsettings_SCHEMAS).in
+ $(gsettings_SCHEMAS)
EXTRA_DIST = \
- $(gsettings_SCHEMAS).in.in
+ $(gsettingsschema_in_files)
MAINTAINERCLEANFILES = $(gsettings_SCHEMAS:.xml=.valid)