summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-10-22 13:58:20 +0200
committerinfirit <[email protected]>2013-10-22 14:37:24 +0200
commit8328d19662bc7cc61d2ed730a5acd7667838c416 (patch)
treeac11b40f4fc091a4f6ad2eb0e38fd4fbb969a571 /data
parent0656ca9fb350ebcf05d205dc861cacc875067dd7 (diff)
downloadmate-notification-daemon-8328d19662bc7cc61d2ed730a5acd7667838c416.tar.bz2
mate-notification-daemon-8328d19662bc7cc61d2ed730a5acd7667838c416.tar.xz
Add update-icon-cache config option for makedistcheck
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index dd8beb6..906c415 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -37,12 +37,12 @@ EXTRA_DIST = \
$(icon48_DATA) \
$(iconscalable_DATA)
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+gtk_update_icon_cache = $(UPDATE_ICON_CACHE) -f -t $(datadir)/icons/hicolor
install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
update-icon-cache:
- @-if test -z "$(DESTDIR)"; then \
+ @-if test -z "$(DESTDIR)" && ICON_UPDATE; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
else \