~mdw
/
cfd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pysetup.mk: Handle the `DESTDIR' install variable usefully.
[cfd]
/
pysetup.mk
diff --git
a/pysetup.mk
b/pysetup.mk
index
fed1149
..
8e6e607
100644
(file)
--- a/
pysetup.mk
+++ b/
pysetup.mk
@@
-32,7
+32,8
@@
CMD-dist ?= sdist
OPTS-dist += --dist-dir .
PYTARGETS += install
-OPTS-install += --prefix $(prefix)
+OPTS-install += --prefix $(prefix) \
+ $(and $(DESTDIR),--root $(DESTDIR))
PYTARGETS += check
CMD-check ?= test