From 8328d19662bc7cc61d2ed730a5acd7667838c416 Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 22 Oct 2013 13:58:20 +0200 Subject: Add update-icon-cache config option for makedistcheck --- data/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index dd8beb6..906c415 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -37,12 +37,12 @@ EXTRA_DIST = \ $(icon48_DATA) \ $(iconscalable_DATA) -gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor +gtk_update_icon_cache = $(UPDATE_ICON_CACHE) -f -t $(datadir)/icons/hicolor install-data-hook: update-icon-cache uninstall-hook: update-icon-cache update-icon-cache: - @-if test -z "$(DESTDIR)"; then \ + @-if test -z "$(DESTDIR)" && ICON_UPDATE; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ else \ -- cgit v1.2.1