diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | data/Makefile.am | 5 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-04-22 Brian Pepple <bpepple@fedoraproject.org> + + * data/Makefile.am (update-icon-cache): Updates + gtk-update-icon-cache in uninstall-hook. + 2007-04-22 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_setup_document), diff --git a/data/Makefile.am b/data/Makefile.am index df65d94..ad42ab7 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -84,12 +84,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 |