gnome-blog r314 - trunk



Author: herzi
Date: Sat Mar 22 02:45:58 2008
New Revision: 314
URL: http://svn.gnome.org/viewvc/gnome-blog?rev=314&view=rev

Log:
2008-03-22  Sven Herzberg  <sven imendio com>

	Fix #433060: Run gtk-update-icon-cache in uninstall-hook
	Patch by: Brian Pepple <bpepple fedoraproject org>

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


Modified:
   trunk/ChangeLog
   trunk/Makefile.am

Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am	(original)
+++ trunk/Makefile.am	Sat Mar 22 02:45:58 2008
@@ -69,13 +69,14 @@
 Desktop_DATA = $(Desktop_in_files:.desktop.in.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
-
-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]