summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-07-16 10:00:27 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2012-07-16 10:23:37 +0200
commit862674b0194e83033bd2a2d43ff774ca1bf20526 (patch)
tree8994fc2e5fceb216fe3bbbcb6d537675b689465f
parentbfa44f0bb6f1d2a2f436a1ebc56bfc3608489ee7 (diff)
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
-rw-r--r--data/icons/Makefile.am6
1 files 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