chiark
/
gitweb
/
~mdw
/
cfd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
184efd3
)
pysetup.mk: Handle the `DESTDIR' install variable usefully.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 25 Nov 2019 15:04:07 +0000
(15:04 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 8 May 2020 11:30:13 +0000
(12:30 +0100)
pysetup.mk
patch
|
blob
|
blame
|
history
diff --git
a/pysetup.mk
b/pysetup.mk
index fed1149d3f3134be3942b301be0172c90bed76b2..8e6e607479329484b0dc70074102aba7fa7976e3 100644
(file)
--- a/
pysetup.mk
+++ b/
pysetup.mk
@@
-32,7
+32,8
@@
CMD-dist ?= sdist
OPTS-dist += --dist-dir .
PYTARGETS += install
OPTS-dist += --dist-dir .
PYTARGETS += install
-OPTS-install += --prefix $(prefix)
+OPTS-install += --prefix $(prefix) \
+ $(and $(DESTDIR),--root $(DESTDIR))
PYTARGETS += check
CMD-check ?= test
PYTARGETS += check
CMD-check ?= test