Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Pepple <bpepple@fedoraproject.org>2007-04-29 16:52:09 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2007-04-29 16:52:09 (GMT)
commit770aad84cf876bc66273577e5b10dd424fa1558a (patch)
tree4e39bac49fe35d5479b2648f25d534df7e79e63e
parent6e38fe5d480c09acba49987613f13d66aa2b3086 (diff)
Updates gtk-update-icon-cache in uninstall-hook.
2007-04-22 Brian Pepple <bpepple@fedoraproject.org> * data/Makefile.am (update-icon-cache): Updates gtk-update-icon-cache in uninstall-hook. svn path=/trunk/; revision=2427
-rw-r--r--ChangeLog5
-rw-r--r--data/Makefile.am5
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d176dfb..ad45a9c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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