# 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:
$(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
pydoctor:
$(WAF) pydoctor
+
+pep8:
+ $(WAF) pep8