From 862674b0194e83033bd2a2d43ff774ca1bf20526 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Mon, 16 Jul 2012 10:00:27 +0200 Subject: Regenerate icon cache after icons (un)install Move generation of the icon cache to an (un)install hook, which should ensure that it's done after all needed files are in place. This should fix make distcheck which otherwise errors out with: ERROR: files left after uninstall: ./share/icons/hicolor/icon-theme.cache --- data/icons/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am index fb244c6..e834a65 100644 --- a/data/icons/Makefile.am +++ b/data/icons/Makefile.am @@ -72,8 +72,10 @@ uninstall-icons: rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ done -install-data-local: install-icons update-icon-cache +install-data-local: install-icons +install-data-hook: update-icon-cache -uninstall-local: uninstall-icons update-icon-cache +uninstall-local: uninstall-icons +uninstall-hook: update-icon-cache -include $(top_srcdir)/git.mk -- cgit v1.2.3