summaryrefslogtreecommitdiff
path: root/icons
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-08-05 13:14:09 +0200
committerinfirit <[email protected]>2015-08-05 13:14:09 +0200
commitf4a2f81a106a628125de2e3a11493e582d215241 (patch)
treec3c165eab48d365107fced34586613b6099bd468 /icons
parenta68b4d91372aa67ab16d5f619b251d72cb09652a (diff)
downloadlibmateweather-f4a2f81a106a628125de2e3a11493e582d215241.tar.bz2
libmateweather-f4a2f81a106a628125de2e3a11493e582d215241.tar.xz
Fix icon cache update
broken in 2f2e67b88935259b6e1c214a2c70b4c964f59028 fixes #24
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 cc14206..39c97ac 100644
--- a/icons/Makefile.am
+++ b/icons/Makefile.am
@@ -483,9 +483,9 @@ uninstall-icons:
done
update-icon-cache:
- @-if test -z "$(DESTDIR)" && ICON_UPDATE; then \
+ @-if test -z "$(DESTDIR)" && test -n $(ICON_UPDATE); then \
echo "Updating Gtk icon cache."; \
- $(UPDATE_ICON_CACHE) $(DESTDIR)$(datadir)/$(subdir)/mate; \
+ $(gtk_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"; \