aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0d736e1b7..3f563a3b5 100644
--- a/Makefile
+++ b/Makefile
@@ -90,7 +90,9 @@ install: $(NAME)
$(INSTALL) $(DESKTOPFILE) $(DESKTOPDIR)
$(INSTALL) -d -m 755 $(ICONDIR)
$(INSTALL) $(ICONFILE) $(ICONDIR)
- $(gtk_update_icon_cache)
+ @-if test -z "$(DESTDIR)"; then \
+ $(gtk_update_icon_cache); \
+ fi
$(INSTALL) -d -m 755 $(MANDIR)
$(INSTALL) -m 644 $(MANFILES) $(MANDIR)