samba_upgradeprovision: Remove auto-detection of pre-alpha9 databases
[Samba.git] / Makefile
blob5f220fa3fad69992806f8d6e37e419f93f43c1be
1 # simple makefile wrapper to run waf
3 PYTHON?=python
4 WAF_BINARY=$(PYTHON) ./buildtools/bin/waf
5 WAF=WAF_MAKE=1 $(WAF_BINARY)
7 all:
8 $(WAF) build
10 install:
11 $(WAF) install
13 uninstall:
14 $(WAF) uninstall
16 test:
17 $(WAF) test $(TEST_OPTIONS)
19 help:
20 @echo NOTE: to run extended waf options use $(WAF_BINARY) or modify your PATH
21 $(WAF) --help
23 subunit-test:
24 $(WAF) test --filtered-subunit $(TEST_OPTIONS)
26 testenv:
27 $(WAF) test --testenv $(TEST_OPTIONS)
29 quicktest:
30 $(WAF) test --quick $(TEST_OPTIONS)
32 dist:
33 touch .tmplock
34 WAFLOCK=.tmplock $(WAF) dist
36 distcheck:
37 touch .tmplock
38 WAFLOCK=.tmplock $(WAF) distcheck
40 clean:
41 $(WAF) clean
43 distclean:
44 $(WAF) distclean
46 reconfigure: configure
47 $(WAF) reconfigure
49 show_waf_options:
50 $(WAF) --help
52 # some compatibility make targets
53 everything: all
55 testsuite: all
57 check: test
59 torture: all
61 # this should do an install as well, once install is finished
62 installcheck: test
64 etags:
65 $(WAF) etags
67 ctags:
68 $(WAF) ctags
70 # this allows for things like "make bin/smbtorture"
71 bin/%:: FORCE
72 $(WAF) --targets=$@
73 FORCE:
75 pydoctor:
76 $(WAF) pydoctor
78 pep8:
79 $(WAF) pep8