summaryrefslogtreecommitdiff
path: root/libcaja-private/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 12:36:04 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 12:36:04 +0200
commit6f15dc7cc1be8b98bbc1f5edd963ff89076295ee (patch)
tree04a0b2971e10ce57880360f63147b2d137b84b2a /libcaja-private/Makefile.am
parent373da58a33a4242f3d91771fd304ba8bb3d55e61 (diff)
downloadcaja-6f15dc7cc1be8b98bbc1f5edd963ff89076295ee.tar.bz2
caja-6f15dc7cc1be8b98bbc1f5edd963ff89076295ee.tar.xz
start migration to gsettings
Diffstat (limited to 'libcaja-private/Makefile.am')
-rw-r--r--libcaja-private/Makefile.am22
1 files changed, 7 insertions, 15 deletions
diff --git a/libcaja-private/Makefile.am b/libcaja-private/Makefile.am
index 7749f200..93d67834 100644
--- a/libcaja-private/Makefile.am
+++ b/libcaja-private/Makefile.am
@@ -214,26 +214,17 @@ caja-marshal-guts.c: caja-marshal.list $(GLIB_GENMARSHAL)
$(libcaja_private_la_OBJECTS): $(marshal_sources)
+gsettingsschema_in_files = org.mate.caja.gschema.xml.in org.mate.media-handling.gschema.xml.in
+gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
+.PRECIOUS: $(gsettings_SCHEMAS)
-schema_in_files = apps_caja_preferences.schemas.in
-schemadir = $(MATECONF_SCHEMA_FILE_DIR)
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
+@INTLTOOL_XML_NOMERGE_RULE@
-@INTLTOOL_SCHEMAS_RULE@
-
-# don't do this if we are building in eg. rpm
-if MATECONF_SCHEMAS_INSTALL
-install-data-local:
- if test -z "$(DESTDIR)" ; then \
- for p in $(schema_DATA) ; do \
- MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $$p; \
- done \
- fi
-endif
+@GSETTINGS_RULES@
EXTRA_DIST = \
caja-marshal.list \
- $(schema_in_files) \
+ $(gsettingsschema_in_files) \
$(BEAGLE_SOURCES) \
$(TRACKER_SOURCES) \
$(NULL)
@@ -241,6 +232,7 @@ EXTRA_DIST = \
CLEANFILES = \
$(marshal_sources) \
$(schema_DATA) \
+ $(gsettings_SCHEMAS) \
$(NULL)
dist-hook: