Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data
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 /data
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
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am5
1 files changed, 4 insertions, 1 deletions
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