s4:buildtools: add 'make show_waf_options'
[kamenim/samba.git] / buildtools / scripts / Makefile.waf
index ac5c01355a884e4027d6e96d3694f49230f4f819..1ccbf4ca793be035f13d295c06f53f443d08e86e 100644 (file)
@@ -12,19 +12,31 @@ uninstall:
        $(WAF) uninstall
 
 test:
-       $(WAF) test $(if $(TESTS),--tests="$(TESTS)")
+       $(WAF) test $(TEST_OPTIONS)
+
+testenv:
+       $(WAF) test --testenv $(TEST_OPTIONS)
 
 quicktest:
-       $(WAF) test --quick $(if $(TESTS),--tests="$(TESTS)")
+       $(WAF) test --quick $(TEST_OPTIONS)
 
 dist:
        $(WAF) dist
 
+distcheck:
+       $(WAF) distcheck
+
 clean:
        $(WAF) clean
 
-distclean: clean
-       rm -rf bin
+distclean:
+       $(WAF) distclean
+
+reconfigure: configure
+       $(WAF) reconfigure
+
+show_waf_options:
+       $(WAF) --help
 
 # some compatibility make targets
 everything: all
@@ -45,9 +57,7 @@ ctags:
        $(WAF) ctags
 
 configure: autogen-waf.sh BUILDTOOLS/scripts/configure.waf
-       @echo "please run ./autogen-waf.sh to regenerate $@"
-       @-false
+       ./autogen-waf.sh
 
 Makefile: autogen-waf.sh configure BUILDTOOLS/scripts/Makefile.waf
-       @echo "please run ./autogen-waf.sh to regenerate $@"
-       @false
+       ./autogen-waf.sh