summaryrefslogtreecommitdiff
path: root/data/icons/Makefile.am
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-10-20 22:33:43 +0200
committerinfirit <[email protected]>2013-10-20 22:40:29 +0200
commita1c0ddc581c0359e6e543cec5ac6502127a9d2a7 (patch)
tree625092153e0f8266e8cf213fccf2636ef2f0c712 /data/icons/Makefile.am
parent430d4f7216169ea06fa22f7fc26d270c9238ddc6 (diff)
downloadcaja-a1c0ddc581c0359e6e543cec5ac6502127a9d2a7.tar.bz2
caja-a1c0ddc581c0359e6e543cec5ac6502127a9d2a7.tar.xz
Add update-icon-cache config option for makedistcheck
Otherwise the cache file is left behind and make distcheck fails.
Diffstat (limited to 'data/icons/Makefile.am')
-rw-r--r--data/icons/Makefile.am4
1 files changed, 2 insertions, 2 deletions
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; \