[PATCH 2/2] Makefile: Allow specifying PYTHON environment variable.

simo idra at samba.org
Thu Nov 8 20:06:03 MST 2012


On Thu, 2012-11-08 at 22:39 +0100, Jelmer Vernooij wrote:
> 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..99bba9a 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1,6 +1,7 @@
>  # simple makefile wrapper to run waf
>  
> -WAF_BINARY=./buildtools/bin/waf
> +PYTHON=python

shouldn't this be PYTHON ?= python

or how are you going to override it on minix ?

> +WAF_BINARY=$(PYTHON) ./buildtools/bin/waf
>  WAF=WAF_MAKE=1 $(WAF_BINARY)
>  
>  all:


-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the samba-technical mailing list