summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorBrian Pepple <bpepple@fedoraproject.org>2007-04-23 16:54:13 +0000
committerBastien Nocera <hadess@src.gnome.org>2007-04-23 16:54:13 +0000
commit2a344cea29b7664b8ad99cc6504904f238fe885e (patch)
tree55fea87de6139532aa696d5461112d46bb03c843 /data
parent0e5e2321feb393b508da1b778a5e1e77ded727a3 (diff)
downloadtotem-2a344cea29b7664b8ad99cc6504904f238fe885e.tar.gz
fix gtk-update-icon-cache for uninstall-hook. (Closes: #432424)
2007-04-22 Brian Pepple <bpepple@fedoraproject.org> * data/Makefile.am (update-icon-cache): fix gtk-update-icon-cache for uninstall-hook. (Closes: #432424) svn path=/trunk/; revision=4247
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 2a1a18962..e7644c3e8 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -21,12 +21,14 @@ stuff_DATA = \
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
-install-data-hook:
+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