summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 7cf1a440f..fed397253 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -99,7 +99,7 @@ install-data-local:
fi
install-data-hook:
- if test -z "$(DESTDIR)" ; then \
+ if test -z "$(DESTDIR)" && test -n "$(GTK_UPDATE_ICON_CACHE)" ; then \
$(GTK_UPDATE_ICON_CACHE) -q $(DESTDIR)$(themedir); \
fi