[Xfce4-commits] <xfce4-mailwatch-plugin:master> Regenerate icon cache after icons (un)install

Ján Sučan noreply at xfce.org
Thu Oct 24 13:54:01 CEST 2013


Updating branch refs/heads/master
         to 2957fd9799817138334e02d567dfa58640f8765e (commit)
       from f980c8cc15e522b24242e292cb87862891003e6f (commit)

commit 2957fd9799817138334e02d567dfa58640f8765e
Author: Ján Sučan <sucan at runbox.com>
Date:   Thu Oct 24 13:54:43 2013 +0200

    Regenerate icon cache after icons (un)install
    
    This fixes make distcheck error:
    
    ERROR: files left after uninstall:
    ./share/icons/hicolor/icon-theme.cache

 icons/Makefile.am |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/icons/Makefile.am b/icons/Makefile.am
index b20b756..ff5313a 100644
--- a/icons/Makefile.am
+++ b/icons/Makefile.am
@@ -4,7 +4,7 @@ SUBDIRS = \
 
 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
 
-install-data-hook:
+update-icon-cache:
 	@-if test -z "$(DESTDIR)"; then					\
                 echo "Updating Gtk icon cache.";			\
                 $(gtk_update_icon_cache);				\
@@ -14,3 +14,6 @@ install-data-hook:
                 echo "***   $(gtk_update_icon_cache)";			\
 		echo "***";						\
         fi
+
+install-data-hook: update-icon-cache
+uninstall-hook: update-icon-cache


More information about the Xfce4-commits mailing list