summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-11-06 23:57:37 +0100
committerStefano Karapetsas <[email protected]>2012-11-06 23:57:37 +0100
commiteb7b95cc5e20488865a6950341c3a8ed8d721b55 (patch)
tree7e26f8007a3ce821bcfef52bfd1bb2857c590f3c /src/Makefile.am
parent066eec2b099b863ab3a5e5f505340493903935ba (diff)
downloadmate-system-monitor-eb7b95cc5e20488865a6950341c3a8ed8d721b55.tar.bz2
mate-system-monitor-eb7b95cc5e20488865a6950341c3a8ed8d721b55.tar.xz
fix schema installation
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6d982b0..69535c3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -49,13 +49,14 @@ specdir = $(datadir)/procman
# GSettings schemas, enum files and conversion file
-gsettings_ENUM_NAMESPACE = org.mate.mate-system-monitor
+gsettings_ENUM_NAMESPACE = org.mate.system-monitor
gsettings_ENUM_FILES = $(top_srcdir)/src/*.h
-gsettingsschemadir = $(datadir)/glib-2.0/schemas
-gsettings_in_file = org.mate.mate-system-monitor.gschema.xml.in
-gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
-@INTLTOOL_XML_NOMERGE_RULE@
+gsettings_SCHEMAS = org.mate.system-monitor.gschema.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' < $< > $@
dist_noinst_DATA = \
$(gsettings_in_file)