summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorBrent Hull <[email protected]>2012-10-30 16:33:38 -0400
committerBrent Hull <[email protected]>2012-10-30 16:33:38 -0400
commit6161e23866e73161dc0943c8ff24039edf8c531e (patch)
treead2fb4a90a9a1743bec2bde7dcca2c5d5d3f8775 /data/Makefile.am
parent060a4507145425c02c6aa0ef810138c04d38f5a9 (diff)
downloadmate-power-manager-6161e23866e73161dc0943c8ff24039edf8c531e.tar.bz2
mate-power-manager-6161e23866e73161dc0943c8ff24039edf8c531e.tar.xz
Enable translations for gsettings schema
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 0f0d775..06aab6e 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -20,7 +20,9 @@ $(service_DATA): $(service_in_files) Makefile
@sed -e "s|\@servicedir\@|$(bindir)|" $< > $@
@GSETTINGS_RULES@
-gsettings_SCHEMAS = org.mate.power-manager.gschema.xml
+@INTLTOOL_XML_NOMERGE_RULE@
+gsettings_schemas_in_files = org.mate.power-manager.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_schemas_in_files:.gschema.xml.in=.gschema.xml)
pkgdata_DATA = \
gpm-statistics.ui \
@@ -35,6 +37,7 @@ EXTRA_DIST = \
$(service_in_files) \
$(autostart_in_files) \
$(desktop_in_files) \
+ $(gsettings_schemas_in_files) \
$(pkgdata_DATA)
clean-local :
@@ -44,4 +47,5 @@ DISTCLEANFILES = \
mate-power-manager.desktop \
mate-power-preferences.desktop \
mate-power-statistics.desktop \
- mate-power-manager.service
+ mate-power-manager.service \
+ org.mate.power-manager.gschema.xml