4 install-data-local: update-icon-cache
23 ui_DATA += evince-previewer-ui.xml
30 @INTLTOOL_DESKTOP_RULE@
32 DESKTOP_IN_FILES= evince.desktop.in.in
33 DESKTOP_FILES= $(DESKTOP_IN_FILES:.desktop.in.in=.desktop)
35 desktopdir = $(datadir)/applications
36 desktop_DATA = $(DESKTOP_FILES)
42 servicedir = $(datadir)/dbus-1/services
43 service_in_files = org.gnome.evince.Daemon.service.in
44 service_DATA = $(service_in_files:.service.in=.service)
46 $(service_DATA): $(service_in_files) Makefile
47 $(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
54 # gsettingsschemadir and gschema_compile are defined by the GLIB_GSETTINGS
55 # macro in configure.ac
56 gsettingsschema_in_files = org.gnome.Evince.gschema.xml.in
57 gsettingsschema_DATA = $(gsettingsschema_in_files:.xml.in=.xml)
58 @INTLTOOL_XML_NOMERGE_RULE@
59 # This rule will check your schemas for validity before installation
60 # Uncomment when porting is done
61 # GSETTINGS_CHECK_RULE
62 if GSETTINGS_SCHEMAS_INSTALL
64 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --allow-any-name $(DESTDIR)$(gsettingsschemadir) --targetdir=$(DESTDIR)$(gsettingsschemadir)
71 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
73 install-data-hook: update-icon-cache
74 uninstall-hook: update-icon-cache
77 if test -z "$(DESTDIR)"; then \
78 echo "Updating Gtk icon cache."; \
79 $(gtk_update_icon_cache); \
81 echo "*** Icon cache not updated. After (un)install, run this:"; \
82 echo "*** $(gtk_update_icon_cache)"; \
87 # Extra files to be included in the tarball
93 $(gsettingsschema_in_files) \
94 org.gnome.evince.Daemon.service.in \
105 $(gsettingsschema_DATA) \
108 -include $(top_srcdir)/git.mk