From a1c0ddc581c0359e6e543cec5ac6502127a9d2a7 Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 20 Oct 2013 22:33:43 +0200 Subject: Add update-icon-cache config option for makedistcheck Otherwise the cache file is left behind and make distcheck fails. --- data/icons/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data') diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am index 87345eb4..62e1b9c6 100644 --- a/data/icons/Makefile.am +++ b/data/icons/Makefile.am @@ -32,10 +32,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