aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-02-14 16:06:04 -0600
committerTed Gould <ted@gould.cx>2012-02-14 16:06:04 -0600
commit612662f401ef931eea0d5e8c25319c4326cd2c2d (patch)
tree50dc98d3423ebd0a527ead3a442c61b192752d2a /data
parentea4f2d84eb5a268462037868131e1d9e69b3a845 (diff)
downloadayatana-indicator-power-612662f401ef931eea0d5e8c25319c4326cd2c2d.tar.gz
ayatana-indicator-power-612662f401ef931eea0d5e8c25319c4326cd2c2d.tar.bz2
ayatana-indicator-power-612662f401ef931eea0d5e8c25319c4326cd2c2d.zip
Make data have it's own makefile so the GSettings rules work properly on distcheck
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 0000000..375c7ca
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,17 @@
+
+gsettings_in_file = com.canonical.indicator.power.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+
+@INTLTOOL_XML_NOMERGE_RULE@
+
+@GSETTINGS_RULES@
+
+dist_noinst_DATA = \
+ com.canonical.indicator.power.gschema.xml \
+ $(gsettings_in_file)
+
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
+
+MAINTAINERCLEANFILES = \
+ $(gsettings_SCHEMAS:.xml=.valid)