From e0f3ca5b61ee407ca97a261e2b4aeb9533343f4f Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 28 Jan 2014 15:31:09 +0100 Subject: Fix distcheck: Add option to disable icon cache. --- data/icons/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/icons') diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am index c5d7580..4819879 100644 --- a/data/icons/Makefile.am +++ b/data/icons/Makefile.am @@ -27,10 +27,10 @@ EXTRA_DIST = \ ############################################################################### -gtk_update_icon_cache = gtk-update-icon-cache -f -t +gtk_update_icon_cache = $(UPDATE_ICON_CACHE) -f -t update-icon-cache: - @-if test -z "$(DESTDIR)"; then \ + @-if test -z "$(DESTDIR)" && ICON_UPDATE; then \ echo "Updating Gtk icon cache."; \ for theme in $(public_icons_themes); do \ $(gtk_update_icon_cache) $(datadir)/icons/$$theme; \ -- cgit v1.2.1