summaryrefslogtreecommitdiff
path: root/icons
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-02-16 22:27:22 +0100
committerinfirit <[email protected]>2014-02-16 22:27:22 +0100
commit2f2e67b88935259b6e1c214a2c70b4c964f59028 (patch)
treeae5f84c2b52774d8d0f5426cf5164b16925f0067 /icons
parent064ef1f010b78db5fb98cbd8cea3893054410ef1 (diff)
downloadlibmateweather-2f2e67b88935259b6e1c214a2c70b4c964f59028.tar.bz2
libmateweather-2f2e67b88935259b6e1c214a2c70b4c964f59028.tar.xz
Add option to disable icon cache updatelibmateweather-1.7.90
Diffstat (limited to 'icons')
-rw-r--r--icons/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/icons/Makefile.am b/icons/Makefile.am
index 3bfe3ac..cc14206 100644
--- a/icons/Makefile.am
+++ b/icons/Makefile.am
@@ -483,9 +483,9 @@ uninstall-icons:
done
update-icon-cache:
- @-if test -z "$(DESTDIR)"; then \
+ @-if test -z "$(DESTDIR)" && ICON_UPDATE; then \
echo "Updating Gtk icon cache."; \
- $(gtk_update_icon_cache) $(DESTDIR)$(datadir)/$(subdir)/mate; \
+ $(UPDATE_ICON_CACHE) $(DESTDIR)$(datadir)/$(subdir)/mate; \
else \
echo "*** Icon cache not updated. After (un)install, run this:"; \
echo "*** $(gtk_update_icon_cache) $(DESTDIR)$(datadir)/$(subdir)/mate"; \