summaryrefslogtreecommitdiff
path: root/buildtools/scripts
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-12-01 09:57:50 +1100
committerAndrew Tridgell <tridge@samba.org>2010-12-01 01:47:50 +0100
commit0acc93cc2c8baa9a693066835ff1a1ba1e0ed50b (patch)
tree06b34548325d4641c860d997562ade8538c3236f /buildtools/scripts
parent557401b68d0d96f8a21037c917cad77c0e6e2a89 (diff)
downloadsamba-0acc93cc2c8baa9a693066835ff1a1ba1e0ed50b.tar.gz
samba-0acc93cc2c8baa9a693066835ff1a1ba1e0ed50b.tar.bz2
samba-0acc93cc2c8baa9a693066835ff1a1ba1e0ed50b.zip
waf: added a help target for the other waf builds
this lets the s3 waf build use "make help" Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 1 01:47:50 CET 2010 on sn-devel-104
Diffstat (limited to 'buildtools/scripts')
-rw-r--r--buildtools/scripts/Makefile.waf7
1 files changed, 6 insertions, 1 deletions
diff --git a/buildtools/scripts/Makefile.waf b/buildtools/scripts/Makefile.waf
index c07f859614..716ab93270 100644
--- a/buildtools/scripts/Makefile.waf
+++ b/buildtools/scripts/Makefile.waf
@@ -1,6 +1,7 @@
# simple makefile wrapper to run waf
-WAF=WAF_MAKE=1 BUILDTOOLS/bin/waf
+WAF_BINARY=BUILDTOOLS/bin/waf
+WAF=WAF_MAKE=1 $(WAF_BINARY)
all:
$(WAF) build
@@ -14,6 +15,10 @@ uninstall:
test:
$(WAF) test $(TEST_OPTIONS)
+help:
+ @echo NOTE: to run extended waf options use $(WAF_BINARY) or modify your PATH
+ $(WAF) --help
+
testenv:
$(WAF) test --testenv $(TEST_OPTIONS)