diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-11-04 08:29:11 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-11-03 22:44:59 +0000 |
commit | 14718a725b65828c470167b922260840343d9843 (patch) | |
tree | 6a0665e5baafde4af8b8344cb62a8312264a2de8 /lib | |
parent | fdcbc087c0fe6abc61bf8d98ca8782a148a94f23 (diff) | |
download | samba-14718a725b65828c470167b922260840343d9843.tar.gz samba-14718a725b65828c470167b922260840343d9843.tar.bz2 samba-14718a725b65828c470167b922260840343d9843.zip |
build: a more portable way of finding waf in makefiles
this avoids using the non-portable shell command in makefiles
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Nov 3 22:44:59 UTC 2010 on sn-devel-104
Diffstat (limited to 'lib')
-rw-r--r-- | lib/replace/Makefile | 4 | ||||
-rw-r--r-- | lib/talloc/Makefile | 4 | ||||
-rw-r--r-- | lib/tevent/Makefile | 4 |
3 files changed, 3 insertions, 9 deletions
diff --git a/lib/replace/Makefile b/lib/replace/Makefile index 3082459add..5b8220c6cb 100644 --- a/lib/replace/Makefile +++ b/lib/replace/Makefile @@ -1,8 +1,6 @@ # simple makefile wrapper to run waf -WAFPATH:=$(shell PATH=../../buildtools/bin:buildtools/bin:$(PATH) which waf) - -WAF=WAF_MAKE=1 $(WAFPATH) +WAF=WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$$PATH waf all: $(WAF) build diff --git a/lib/talloc/Makefile b/lib/talloc/Makefile index 3082459add..5b8220c6cb 100644 --- a/lib/talloc/Makefile +++ b/lib/talloc/Makefile @@ -1,8 +1,6 @@ # simple makefile wrapper to run waf -WAFPATH:=$(shell PATH=../../buildtools/bin:buildtools/bin:$(PATH) which waf) - -WAF=WAF_MAKE=1 $(WAFPATH) +WAF=WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$$PATH waf all: $(WAF) build diff --git a/lib/tevent/Makefile b/lib/tevent/Makefile index 3f188a955f..f178363dbc 100644 --- a/lib/tevent/Makefile +++ b/lib/tevent/Makefile @@ -1,8 +1,6 @@ # simple makefile wrapper to run waf -WAFPATH:=$(shell PATH=../../buildtools/bin:buildtools/bin:$(PATH) which waf) - -WAF=WAF_MAKE=1 $(WAFPATH) +WAF=WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$$PATH waf all: $(WAF) build |