param: rename lp function and variable from "serverstring" to "server_string"
[samba.git] / Makefile
index 055205233210169fc6d906cf9610e6df6f27a4d8..5f220fa3fad69992806f8d6e37e419f93f43c1be 100644 (file)
--- 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:
@@ -13,20 +14,20 @@ uninstall:
        $(WAF) uninstall
 
 test:
-       $(WAF) test --dup-symbol-check $(TEST_OPTIONS)
+       $(WAF) test $(TEST_OPTIONS)
 
 help:
        @echo NOTE: to run extended waf options use $(WAF_BINARY) or modify your PATH
        $(WAF) --help
 
 subunit-test:
-       $(WAF) test --dup-symbol-check --filtered-subunit $(TEST_OPTIONS)
+       $(WAF) test --filtered-subunit $(TEST_OPTIONS)
 
 testenv:
-       $(WAF) test --dup-symbol-check --testenv $(TEST_OPTIONS)
+       $(WAF) test --testenv $(TEST_OPTIONS)
 
 quicktest:
-       $(WAF) test --dup-symbol-check --quick $(TEST_OPTIONS)
+       $(WAF) test --quick $(TEST_OPTIONS)
 
 dist:
        touch .tmplock
@@ -73,3 +74,6 @@ FORCE:
 
 pydoctor:
        $(WAF) pydoctor
+
+pep8:
+       $(WAF) pep8