summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-10-02 20:05:07 +0200
committerStefano Karapetsas <[email protected]>2012-10-02 20:05:07 +0200
commitb34dc27b7b191e56cbf640a963435d6e68982608 (patch)
treea655b07b606bb3de16c1f9be0fba1d14e46cacb6 /data/Makefile.am
parentd564dd5d1416dde95fea79eef1a994bd3d1c7d3f (diff)
downloadmate-session-manager-b34dc27b7b191e56cbf640a963435d6e68982608.tar.bz2
mate-session-manager-b34dc27b7b191e56cbf640a963435d6e68982608.tar.xz
migrate to gsettingsmate-session-manager-1.5.0
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am28
1 files changed, 5 insertions, 23 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index c68a309..2cd9a8a 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -21,41 +21,23 @@ endif
@INTLTOOL_DESKTOP_RULE@
-schemas_in_in_files = mate-session.schemas.in.in
-schemas_in_files = $(schemas_in_in_files:.schemas.in.in=.schemas.in)
-schemasdir = $(MATECONF_SCHEMA_FILE_DIR)
-schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
-
-$(schemas_in_files): $(schemas_in_files).in Makefile
+org.mate.session.gschema.xml.in: org.mate.session.gschema.xml.in.in Makefile
$(AM_V_GEN)sed \
-e "s|\@DEFAULT_WM\@|$(DEFAULT_WM)|" \
$< > $@
-@INTLTOOL_SCHEMAS_RULE@
-
-if MATECONF_SCHEMAS_INSTALL
-install-data-local:
- if test -z "$(DESTDIR)" ; then \
- for p in $(schemas_DATA) ; do \
- MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(top_builddir)/data/$$p ; \
- done \
- fi
-uninstall-local:
- for p in $(schema_DATA) ; do \
- MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-uninstall-rule $(top_builddir)/data/$$p ; \
- done
-endif
+gsettings_SCHEMAS = org.mate.session.gschema.xml
+@INTLTOOL_XML_NOMERGE_RULE@
+@GSETTINGS_RULES@
EXTRA_DIST = \
mate-wm \
$(xsession_in_files) \
- $(schemas_in_in_files) \
+ $(gsettings_SCHEMAS) \
$(ui_DATA) \
$(pixmap_DATA_dist)
CLEANFILES = \
- $(schemas_in_files) \
- $(schemas_DATA) \
$(xsession_DATA) \
$(desktop_DATA) \
mate-wm.desktop