summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am22
1 files changed, 16 insertions, 6 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 6fa19552..516294cc 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -6,17 +6,27 @@ default_layout_DATA = panel-default-layout.mate
gsettings_ENUM_NAMESPACE = org.mate.panel
gsettings_ENUM_FILES = $(top_srcdir)/mate-panel/panel-enums-gsettings.h
-gsettings_SCHEMAS = \
- org.mate.panel.gschema.xml \
- org.mate.panel.object.gschema.xml \
- org.mate.panel.toplevel.gschema.xml
+panel_gschemas_in_in = \
+ org.mate.panel.gschema.xml.in.in \
+ org.mate.panel.object.gschema.xml.in.in \
+ org.mate.panel.toplevel.gschema.xml.in.in
-@GSETTINGS_RULES@
+panel_gschemas_in = $(panel_gschemas_in_in:.xml.in.in=.xml.in)
+gsettings_SCHEMAS = $(panel_gschemas_in:.xml.in=.xml)
%.gschema.xml.in: %.gschema.xml.in.in Makefile
$(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@
+@GSETTINGS_RULES@
+
convertdir = $(datadir)/MateConf/gsettings
convert_DATA = mate-panel.convert
-EXTRA_DIST = $(convert_DATA)
+EXTRA_DIST = \
+ $(convert_DATA) \
+ $(panel_gschemas_in_in) \
+ panel-default-layout.mate
+
+CLEANFILES = \
+ $(panel_gschemas_in) \
+ $(gsettings_SCHEMAS)