From 2f2e67b88935259b6e1c214a2c70b4c964f59028 Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 16 Feb 2014 22:27:22 +0100 Subject: Add option to disable icon cache update --- icons/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'icons/Makefile.am') diff --git a/icons/Makefile.am b/icons/Makefile.am index 3bfe3ac..cc14206 100644 --- a/icons/Makefile.am +++ b/icons/Makefile.am @@ -483,9 +483,9 @@ uninstall-icons: done update-icon-cache: - @-if test -z "$(DESTDIR)"; then \ + @-if test -z "$(DESTDIR)" && ICON_UPDATE; then \ echo "Updating Gtk icon cache."; \ - $(gtk_update_icon_cache) $(DESTDIR)$(datadir)/$(subdir)/mate; \ + $(UPDATE_ICON_CACHE) $(DESTDIR)$(datadir)/$(subdir)/mate; \ else \ echo "*** Icon cache not updated. After (un)install, run this:"; \ echo "*** $(gtk_update_icon_cache) $(DESTDIR)$(datadir)/$(subdir)/mate"; \ -- cgit v1.2.1