4 install-data-local: install-schemas update-icon-cache
5 uninstall-local: uninstall-schemas
28 gladedir = $(pkgdatadir)
30 evince-password.glade \
31 evince-properties.glade \
38 @INTLTOOL_DESKTOP_RULE@
40 DESKTOP_IN_FILES= evince.desktop.in.in
41 DESKTOP_FILES= $(DESKTOP_IN_FILES:.desktop.in.in=.desktop)
43 desktopdir = $(datadir)/applications
44 desktop_DATA = $(DESKTOP_FILES)
51 @INTLTOOL_SCHEMAS_RULE@
53 schema_in_files = evince.schemas.in
54 schemadir = $(GCONF_SCHEMA_FILE_DIR)
55 schema_DATA = $(schema_in_files:.schemas.in=.schemas)
57 install-schemas: $(schema_DATA)
58 if GCONF_SCHEMAS_INSTALL
59 if test -z "$(DESTDIR)" ; then \
61 GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
63 --makefile-install-rule \
64 $(top_builddir)/data/$$p; \
69 uninstall-schemas: $(schema_DATA)
70 if GCONF_SCHEMAS_INSTALL
71 if test -z "$(DESTDIR)" ; then \
73 GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
75 --makefile-uninstall-rule \
76 $(top_builddir)/data/$$p; \
85 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
87 install-data-hook: update-icon-cache
88 uninstall-hook: update-icon-cache
91 if test -z "$(DESTDIR)"; then \
92 echo "Updating Gtk icon cache."; \
93 $(gtk_update_icon_cache); \
95 echo "*** Icon cache not updated. After (un)install, run this:"; \
96 echo "*** $(gtk_update_icon_cache)"; \
101 # Extra files to be included in the tarball
107 $(DESKTOP_IN_FILES) \