[Xfce4-commits] <ristretto:ristretto-0.3> Run gtk-update-icon-cache on uninstall
Stephan Arts
noreply at xfce.org
Sat Mar 3 12:24:03 CET 2012
Updating branch refs/heads/ristretto-0.3
to 15f313ad4053dc9ff95bc72cbf6b4d2bcf16d11a (commit)
from aaa76c95b50a7eb0767b4f403609946e185b8b4d (commit)
commit 15f313ad4053dc9ff95bc72cbf6b4d2bcf16d11a
Author: Stephan Arts <stephan at xfce.org>
Date: Sat Mar 3 12:18:43 2012 +0100
Run gtk-update-icon-cache on uninstall
icons/Makefile.am | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/icons/Makefile.am b/icons/Makefile.am
index 1d1e2e6..df49907 100644
--- a/icons/Makefile.am
+++ b/icons/Makefile.am
@@ -14,3 +14,14 @@ install-data-hook:
echo "*** $(gtk_update_icon_cache)"; \
echo "***"; \
fi
+
+uninstall-hook:
+ @-if test -z "$(DESTDIR)"; then \
+ echo "Updating Gtk icon cache."; \
+ $(gtk_update_icon_cache); \
+ else \
+ echo "*** Icon cache not updated. Remember to run:"; \
+ echo "***"; \
+ echo "*** $(gtk_update_icon_cache)"; \
+ echo "***"; \
+ fi
More information about the Xfce4-commits
mailing list