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)|" $< > $@
53 gsettingsschema_in_files = org.gnome.Evince.gschema.xml.in
54 # gsettings_SCHEMAS is a list of all the schemas you want to install
55 gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
57 .PRECIOUS: $(gsettings_SCHEMAS)
59 @INTLTOOL_XML_NOMERGE_RULE@
61 # include the appropriate makefile rules for schema handling
64 gsettingsconvertdir = $(datadir)/GConf/gsettings
65 gsettingsconvert_DATA = evince.convert
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 \
106 $(gsettings_SCHEMAS) \
109 -include $(top_srcdir)/git.mk