2 BZR ?= $(shell which bzr)
3 PYTHON ?= $(shell which python)
11 all:: build build-inplace README.html FAQ.html AUTHORS.html
17 $(SETUP) build_ext --inplace
26 TMP_PLUGINS_DIR = $(shell pwd)/.plugins
31 $(TMP_PLUGINS_DIR)/svn: $(TMP_PLUGINS_DIR)
34 check:: build-inplace $(TMP_PLUGINS_DIR)/svn
35 BZR_PLUGIN_PATH=$(TMP_PLUGINS_DIR) $(DEBUGGER) $(PYTHON) $(PYTHON_OPTIONS) $(BZR) selftest $(TEST_OPTIONS) --starting-with=bzrlib.plugins.svn $(TESTS)
38 $(MAKE) check TEST_OPTIONS=-v
41 $(MAKE) check TEST_OPTIONS=--one
44 $(MAKE) check TEST_OPTIONS="--random=now --verbose --one"
47 $(MAKE) check DEBUGGER="valgrind --suppressions=/usr/lib/valgrind/python.supp $(VALGRIND_OPTIONS)"
50 $(MAKE) check DEBUGGER="gdb --args $(GDB_OPTIONS)"
53 BZR_PLUGIN_PATH=$(TMP_PLUGINS_DIR) $(BZR) plugins
56 $(PYLINT) -f parseable *.py */*.py
59 $(PYDOCTOR) --make-html -c bzr-svn.cfg
61 FAQ.html README.html AUTHORS.html: %.html: %