summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorUlrich Mueller <ulm@gentoo.org>2012-05-19 11:57:10 -0700
committerGlenn Morris <rgm@gnu.org>2012-05-19 11:57:10 -0700
commitaf006ad50e088b8e2f715a1778fa4caa3ab28d8f (patch)
treea70fe3362646fb7b7b75599565a674685c0aa00a /Makefile.in
parentafdc34774001166f25e998ba925301338001c3cc (diff)
downloademacs-af006ad50e088b8e2f715a1778fa4caa3ab28d8f.tar.gz
* Makefile.in (install-etc): Respect DESTDIR.
Fixes: debbugs:11518
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 74111dc8348..6e0f8703d06 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -630,11 +630,11 @@ install-etc:
cd ${iconsrcdir} || exit 1; umask 022 ; \
for dir in */*/apps */*/mimetypes; do \
[ -d $${dir} ] || continue ; \
- ( cd $${thisdir}; ${MKDIR_P} ${icondir}/$${dir} ) ; \
+ ( cd $${thisdir}; ${MKDIR_P} $(DESTDIR)${icondir}/$${dir} ) ; \
for icon in $${dir}/*.*; do \
[ -r $${icon} ] || continue ; \
( cd $${thisdir}; \
- ${INSTALL_DATA} ${iconsrcdir}/$${icon} ${icondir}/$${icon} ) \
+ ${INSTALL_DATA} ${iconsrcdir}/$${icon} $(DESTDIR)${icondir}/$${icon} ) \
|| exit 1; \
done ; \
done