projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fc1b8f
)
Make DESTDIR an absolute path when installing; fixes #4883
author
Ian Lynagh
<igloo@earth.li>
Sat, 8 Jan 2011 17:16:35 +0000
(17:16 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 8 Jan 2011 17:16:35 +0000
(17:16 +0000)
mk/install.mk.in
patch
|
blob
|
history
diff --git
a/mk/install.mk.in
b/mk/install.mk.in
index
3d74158
..
b63ffe3
100644
(file)
--- a/
mk/install.mk.in
+++ b/
mk/install.mk.in
@@
-179,3
+179,7
@@
endif
# NB. we use negative tests here because for binary-distributions we cannot
# test build-time variables at install-time, so they must default to on.
+ifneq "$(DESTDIR)" ""
+override DESTDIR := $(abspath $(DESTDIR))
+endif
+