Fix icon installation with DESTDIR set

Originally committed to SVN as r6266.
This commit is contained in:
Thomas Goyne 2012-01-10 20:56:25 +00:00
parent 5ab777f230
commit 3b099dba74
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ install-desktop:
install-icons:
@$(BIN_MKDIR) -p $(addprefix $(P_ICON)/hicolor/, $(dir $(ICON_HICOLOR)))
@$(BIN_MKDIR) -p $(addprefix $(DESTDIR)$(P_ICON)/hicolor/, $(dir $(ICON_HICOLOR)))
@for i in $(ICON_HICOLOR); do \
$(BIN_ECHO) "$(BIN_INSTALL) $$i $(DESTDIR)$(P_ICON)/hicolor/$$i"; \
$(BIN_INSTALL) $$i $(DESTDIR)$(P_ICON)/hicolor/$$i; \