alacarte r394 - trunk



Author: vuntz
Date: Thu Sep 11 13:21:53 2008
New Revision: 394
URL: http://svn.gnome.org/viewvc/alacarte?rev=394&view=rev

Log:
2008-09-11  Vincent Untz  <vuntz gnome org>

	* Makefile.am: fix uninstallation of icons
	Fix bug #538679
	Patch by Fabricio Silva <silva crans org>


Modified:
   trunk/ChangeLog
   trunk/Makefile.am

Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am	(original)
+++ trunk/Makefile.am	Thu Sep 11 13:21:53 2008
@@ -40,11 +40,13 @@
 
 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]