gnome-power-manager r2823 - in trunk: . data/icons



Author: rhughes
Date: Mon Jun 23 09:45:08 2008
New Revision: 2823
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=2823&view=rev

Log:
2008-06-22  Brian Pepple  <bpepple fedoraproject org>

* data/icons/Makefile.am (uninstall-hook): fix gtk-update-icon-cache for 
uninstall-hook.


Modified:
   trunk/ChangeLog
   trunk/data/icons/Makefile.am

Modified: trunk/data/icons/Makefile.am
==============================================================================
--- trunk/data/icons/Makefile.am	(original)
+++ trunk/data/icons/Makefile.am	Mon Jun 23 09:45:08 2008
@@ -2,12 +2,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]