4 install-data-local: install-schemas update-icon-cache
5 uninstall-local: uninstall-schemas
24 ui_DATA += evince-previewer-ui.xml
31 @INTLTOOL_DESKTOP_RULE@
33 DESKTOP_IN_FILES= evince.desktop.in.in
34 DESKTOP_FILES= $(DESKTOP_IN_FILES:.desktop.in.in=.desktop)
36 desktopdir = $(datadir)/applications
37 desktop_DATA = $(DESKTOP_FILES)
43 servicedir = $(datadir)/dbus-1/services
44 service_in_files = org.gnome.evince.Daemon.service.in
45 service_DATA = $(service_in_files:.service.in=.service)
47 $(service_DATA): $(service_in_files) Makefile
48 $(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
56 @INTLTOOL_SCHEMAS_RULE@
58 schema_in_files = evince.schemas.in
59 schemadir = $(GCONF_SCHEMA_FILE_DIR)
60 schema_DATA = $(schema_in_files:.schemas.in=.schemas)
62 install-schemas: $(schema_DATA)
63 if GCONF_SCHEMAS_INSTALL
64 if test -z "$(DESTDIR)" ; then \
66 GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
68 --makefile-install-rule \
69 $(top_builddir)/data/$$p; \
74 uninstall-schemas: $(schema_DATA)
75 if GCONF_SCHEMAS_INSTALL
76 if test -z "$(DESTDIR)" ; then \
78 GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
80 --makefile-uninstall-rule \
81 $(top_builddir)/data/$$p; \
97 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
99 install-data-hook: update-icon-cache
100 uninstall-hook: update-icon-cache
103 if test -z "$(DESTDIR)"; then \
104 echo "Updating Gtk icon cache."; \
105 $(gtk_update_icon_cache); \
107 echo "*** Icon cache not updated. After (un)install, run this:"; \
108 echo "*** $(gtk_update_icon_cache)"; \
113 # Extra files to be included in the tarball
118 $(DESKTOP_IN_FILES) \
120 org.gnome.evince.Daemon.service.in \
134 -include $(top_srcdir)/git.mk