dbwrap: Use INCOMPATIBLE_HASH for dbwrap_watchers.tdb
[kai/samba.git] / Makefile
index cbbf045062e8cb58ccf5c00af4ef6ed056a3e19b..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:
@@ -68,8 +69,11 @@ ctags:
 
 # this allows for things like "make bin/smbtorture"
 bin/%:: FORCE
-       $(WAF) --targets=`basename $@`
+       $(WAF) --targets=$@
 FORCE:
 
 pydoctor:
        $(WAF) pydoctor
+
+pep8:
+       $(WAF) pep8