summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-11-06 22:29:07 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-11-09 16:39:09 +0100
commitec0104b1e0eea73331c58d26ea96b5167c2847ed (patch)
treea5ecc8ef34998730b78ea89dfdce9789966cb1cb
parent010fd296881aa643a4b631d57df503c9e832b35c (diff)
downloadsamba-ec0104b1e0eea73331c58d26ea96b5167c2847ed.tar.gz
samba-ec0104b1e0eea73331c58d26ea96b5167c2847ed.tar.bz2
samba-ec0104b1e0eea73331c58d26ea96b5167c2847ed.zip
Makefile: Allow specifying PYTHON environment variable.
This is required for Minix, where python is named "python2.X". Reviewed-by: Simo Sorce <idra@samba.org> Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Fri Nov 9 16:39:09 CET 2012 on sn-devel-104
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ae2fc0636d..5f220fa3fa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
# simple makefile wrapper to run waf
-WAF_BINARY=./buildtools/bin/waf
+PYTHON?=python
+WAF_BINARY=$(PYTHON) ./buildtools/bin/waf
WAF=WAF_MAKE=1 $(WAF_BINARY)
all: