waf: added a help target for the other waf builds
[samba.git] / buildtools / scripts / Makefile.waf
index c07f8596144120cba8c45d78c3af834e9e536625..716ab93270641f4e7b9989fafd255be5c1ca9b9a 100644 (file)
@@ -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)