[PATCH] Makefile: Allow specifying PYTHON environment variable.
simo
idra at samba.org
Thu Nov 8 21:05:00 MST 2012
On Fri, 2012-11-09 at 04:22 +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..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:
ack to both
Simo.
--
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