bug-buddy r2551 - in trunk: . pixmaps



Author: cosimoc
Date: Tue Jul 15 10:18:51 2008
New Revision: 2551
URL: http://svn.gnome.org/viewvc/bug-buddy?rev=2551&view=rev

Log:
2008-07-15  Cosimo Cecchi  <cosimoc gnome org>

	* pixmaps/Makefile.am:
	Fix gtk-update-icon-cache for uninstall-hook.
	Patch by Brian Pepple (#432437).


Modified:
   trunk/ChangeLog
   trunk/pixmaps/Makefile.am

Modified: trunk/pixmaps/Makefile.am
==============================================================================
--- trunk/pixmaps/Makefile.am	(original)
+++ trunk/pixmaps/Makefile.am	Tue Jul 15 10:18:51 2008
@@ -8,12 +8,14 @@
 
 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
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]