3
BZR ?= $(shell which bzr)
4
PYTHON ?= $(shell which python)
27
BZR_PLUGINS_AT=git@$(shell pwd) $(DEBUGGER) $(PYTHON) $(PYTHON_OPTIONS) $(BZR) $(BZR_OPTIONS) selftest $(TEST_OPTIONS) $(TESTS)
30
$(MAKE) check TESTS="^bzrlib.plugins.git. Git"
33
$(MAKE) check TEST_OPTIONS=-v
36
$(MAKE) check TEST_OPTIONS=--one
39
$(MAKE) check TEST_OPTIONS="--random=now --verbose --one"
42
BZR_PLUGINS_AT=git@$(shell pwd) $(BZR) plugins -v
45
$(PYLINT) -f parseable *.py */*.py
53
$(MAKE) check BZR_OPTIONS="--coverage coverage"
55
.PHONY: update-pot po/bzr-git.pot
56
update-pot: po/bzr-git.pot
58
TRANSLATABLE_PYFILES:=$(shell find . -name '*.py' \
62
po/bzr-git.pot: $(PYFILES) $(DOCFILES)
63
BZR_PLUGINS_AT=git@$(shell pwd) bzr export-pot \
64
--plugin=git > po/bzr-git.pot
65
echo $(TRANSLATABLE_PYFILES) | xargs \
66
xgettext --package-name "bzr-git" \
67
--msgid-bugs-address "<bazaar@lists.canonical.com>" \
68
--copyright-holder "Canonical Ltd <canonical-bazaar@lists.canonical.com>" \
69
--from-code ISO-8859-1 --sort-by-file --join --add-comments=i18n: \
70
-d bzr-git -p po -o bzr-git.pot