summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-11-06 22:29:07 +0100
committerKarolin Seeger <kseeger@samba.org>2012-12-03 12:37:21 +0100
commit329a64d94e6305682db3dfcb8563ac3846a2d2af (patch)
tree9136cafff7c22b42c4efe958920c0c498ed128d1 /Makefile
parent59a7a3000f09783bd45ea879e4070d729a514636 (diff)
downloadsamba-329a64d94e6305682db3dfcb8563ac3846a2d2af.tar.gz
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 (cherry picked from commit ec0104b1e0eea73331c58d26ea96b5167c2847ed)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ae2fc0636d7..5f220fa3fad 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: