[PATCH] Makefile: Allow specifying PYTHON environment variable.
Jelmer Vernooij
jelmer at samba.org
Thu Nov 8 20:22:53 MST 2012
This is required for Minix, where python is named "python2.X".
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index ae2fc06..5f220fa 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:
--
1.8.0
More information about the samba-technical
mailing list