]> www.fi.muni.cz Git - evince.git/blobdiff - data/Makefile.am
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / data / Makefile.am
index feb52301527bcf88e1a41a07aab9cbd3c00c0b6f..f4295df5a0daeec5204e287fd532dca71ef9c825 100644 (file)
@@ -50,19 +50,19 @@ endif
 #
 # GSettings schema
 #
-
-# gsettingsschemadir and gschema_compile are defined by the GLIB_GSETTINGS
-# macro in configure.ac
 gsettingsschema_in_files = org.gnome.Evince.gschema.xml.in
-gsettingsschema_DATA = $(gsettingsschema_in_files:.xml.in=.xml)
+# gsettings_SCHEMAS is a list of all the schemas you want to install
+gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
+
+.PRECIOUS: $(gsettings_SCHEMAS)
+
 @INTLTOOL_XML_NOMERGE_RULE@
-# This rule will check your schemas for validity before installation
-# Uncomment when porting is done
-# GSETTINGS_CHECK_RULE
-if GSETTINGS_SCHEMAS_INSTALL
-install-data-hook:
-       $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --allow-any-name $(DESTDIR)$(gsettingsschemadir) --targetdir=$(DESTDIR)$(gsettingsschemadir)
-endif
+
+# include the appropriate makefile rules for schema handling
+@GSETTINGS_RULES@
+
+gsettingsconvertdir = $(datadir)/GConf/gsettings
+gsettingsconvert_DATA = evince.convert
 
 #
 # GTK icon cache
@@ -94,6 +94,7 @@ EXTRA_DIST =                                  \
        org.gnome.evince.Daemon.service.in      \
        $(man_MANS)                             \
        evince.ico                              \
+       evince.convert                          \
        $(NULL)
 
 #
@@ -102,7 +103,7 @@ EXTRA_DIST =                                        \
 
 DISTCLEANFILES = \
        $(DESKTOP_FILES)        \
-       $(gsettingsschema_DATA)         \
+       $(gsettings_SCHEMAS)    \
        $(service_DATA)
 
 -include $(top_srcdir)/git.mk