summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-10-20 22:33:43 +0200
committerinfirit <[email protected]>2013-10-20 22:33:43 +0200
commitef3e6ef2a2bff1b0c57fbd4dcd99a4b2a2ed2a38 (patch)
tree4f6de775a0642b4975a8c23c9914b210586b0213 /data
parent34d333128f57a22c4227fae76b9c0f77f22fe79f (diff)
downloadcaja-ef3e6ef2a2bff1b0c57fbd4dcd99a4b2a2ed2a38.tar.bz2
caja-ef3e6ef2a2bff1b0c57fbd4dcd99a4b2a2ed2a38.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')
-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; \