summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-10-21 20:03:23 +0200
committerStefano Karapetsas <[email protected]>2012-10-21 20:03:23 +0200
commit501e1a788c6e9720381603aceba1d1719a6ed51f (patch)
tree06ab224e2c602d6e94a96be0994435e7501680eb /data/Makefile.am
parent82ac91f35b7ac4ee97803c3e3eb8812e74fac2cf (diff)
downloadeom-501e1a788c6e9720381603aceba1d1719a6ed51f.tar.bz2
eom-501e1a788c6e9720381603aceba1d1719a6ed51f.tar.xz
add gsettings schema
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am33
1 files changed, 13 insertions, 20 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index b89623a..dcf635a 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -8,11 +8,12 @@ DESKTOP_FILES= $(DESKTOP_IN_FILES:.desktop.in.in=.desktop)
desktopdir = $(datadir)/applications
desktop_DATA = $(DESKTOP_FILES)
-@INTLTOOL_SCHEMAS_RULE@
+@INTLTOOL_XML_NOMERGE_RULE@
+gsettings_SCHEMAS = org.mate.eom.gschema.xml
+@GSETTINGS_RULES@
-schemas_in_files = eom.schemas.in
-schemasdir = $(MATECONF_SCHEMA_FILE_DIR)
-schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
+%.gschema.xml.in: %.gschema.xml.in.in Makefile
+ $(AM_V_GEN) $(SED) -e 's^\@datadir\@^$(datadir)^g' -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@
gladedir = $(pkgdatadir)
glade_DATA = eom-image-properties-dialog.ui \
@@ -32,24 +33,16 @@ pkgconfig_DATA = eom.pc
gtkrcdir = $(pkgdatadir)
gtkrc_DATA = gtkrc
-install-data-local:
-if MATECONF_SCHEMAS_INSTALL
- 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 >&1 > /dev/null; \
- done \
- fi
-endif
-
-EXTRA_DIST = \
- $(gtkrc_DATA) \
- $(glade_DATA) \
- $(DESKTOP_IN_FILES) \
- $(schemas_in_files) \
+EXTRA_DIST = \
+ $(gtkrc_DATA) \
+ $(glade_DATA) \
+ $(DESKTOP_IN_FILES) \
+ $(gsettings_SCHEMAS_in_in) \
$(UI_FILES)
DISTCLEANFILES = \
- $(DESKTOP_FILES) \
- $(schemas_DATA)
+ $(DESKTOP_FILES) \
+ $(gsettings_SCHEMAS_in) \
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk