From: Jelmer Vernooij Date: Tue, 6 Nov 2012 21:29:07 +0000 (+0100) Subject: Makefile: Allow specifying PYTHON environment variable. X-Git-Tag: ldb-1.1.14~28 X-Git-Url: http://git.samba.org/samba.git/?p=metze%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=ec0104b1e0eea73331c58d26ea96b5167c2847ed Makefile: Allow specifying PYTHON environment variable. This is required for Minix, where python is named "python2.X". Reviewed-by: Simo Sorce Signed-off-by: Jelmer Vernooij Autobuild-User(master): Jelmer Vernooij Autobuild-Date(master): Fri Nov 9 16:39:09 CET 2012 on sn-devel-104 --- 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: