X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=data%2FMakefile.am;h=9df94a971bcc07a8a63163f27f802f74ebb7a3f6;hb=d7441e8909c29bef67cc4f9d07a104288ec2243e;hp=669742c878f0117737ac61f3e8078e7ebd767b70;hpb=794bbc93d05e090d7fef7b39f6f0237cbb26fa31;p=evince.git diff --git a/data/Makefile.am b/data/Makefile.am index 669742c8..9df94a97 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -18,20 +18,9 @@ uidir = $(pkgdatadir) ui_DATA = \ evince-ui.xml \ evince-toolbar.xml \ - evince-preview-toolbar.xml \ hand-open.png \ $(NULL) -# -# Glade -# - -gladedir = $(pkgdatadir) -glade_DATA = \ - evince-password.glade \ - evince-properties.glade \ - $(NULL) - # # Desktop file # @@ -85,12 +74,15 @@ endif gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor +install-data-hook: update-icon-cache +uninstall-hook: update-icon-cache + update-icon-cache: if test -z "$(DESTDIR)"; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ else \ - echo "*** Icon cache not updated. After install, run this:"; \ + echo "*** Icon cache not updated. After (un)install, run this:"; \ echo "*** $(gtk_update_icon_cache)"; \ fi @@ -100,7 +92,6 @@ update-icon-cache: # EXTRA_DIST = \ - $(glade_DATA) \ $(ui_DATA) \ $(DESKTOP_IN_FILES) \ $(schema_in_files) \