[Xfce4-commits] <ristretto:master> run gtk-update-icon-cache on make uninstall

Stephan Arts noreply at xfce.org
Fri Jan 27 18:16:01 CET 2012


Updating branch refs/heads/master
         to 363df3c1f160922dc5238428ed812a0306291c36 (commit)
       from a947a6123a027b1191f29d17719d562f53b79ae6 (commit)

commit 363df3c1f160922dc5238428ed812a0306291c36
Author: Stephan Arts <stephan at xfce.org>
Date:   Fri Jan 27 18:12:34 2012 +0100

    run gtk-update-icon-cache on make 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