4
python -Werror ./bzr selftest -v $(tests)
5
@echo "Running all tests with no locale."
6
LC_CTYPE= LANG=C LC_ALL= ./bzr selftest -v $(tests)
7
python -O -Werror ./bzr selftest -v $(tests)
10
./bzr --no-plugins selftest -v msgeditor
12
# Run Python style checker (apt-get install pyflakes)
17
# There are many of these warnings at the moment and they're not a
18
# high priority to fix
19
pyflakes bzrlib | grep -v ' imported but unused'
23
-find . -name "*.pyc" -o -name "*.pyo" | xargs rm -f
11
30
tag_files=./bzr ./bzrlib/*py ./bzrlib/selftest/*.py
13
32
ctags-exuberant -e $(tag_files)
35
# Produce HTML docs to upload on Canonical server
39
python tools/win32/ostools.py copytodir $(htm_files) doc/default.css $(HTMLDIR)
42
# translate txt docs to html
44
txt_files := $(wildcard $(addsuffix /*.txt, $(doc_dir)))
45
htm_files := $(patsubst %.txt, %.htm, $(txt_files)) doc/bzr_man.htm
48
python tools/rst2html.py --link-stylesheet --stylesheet=default.css $*.txt $*.htm
50
doc/bzr_man.txt: bzrlib/builtins.py \
51
bzrlib/bundle/commands.py \
53
bzrlib/sign_my_commits.py \
55
tools/doc_generate/__init__.py \
56
tools/doc_generate/autodoc_rstx.py
57
python generate_docs.py -o doc/bzr_man.txt rstx
62
python tools/win32/ostools.py copytodir $(htm_files) doc/default.css NEWS README win32_bzr.exe/doc
66
python tools/win32/ostools.py remove doc/bzr_man.txt $(htm_files) $(HTMLDIR)
69
# make bzr.exe for win32 with py2exe
71
@echo *** Make bzr.exe
72
python setup.py py2exe > py2exe.log
73
python tools/win32/ostools.py copytodir tools/win32/start_bzr.bat win32_bzr.exe
74
python tools/win32/ostools.py copytodir tools/win32/bazaar.url win32_bzr.exe
76
# win32 installer for bzr.exe
77
installer: exe copy-docs
78
@echo *** Make windows installer
79
cog.py -d -o tools/win32/bzr.iss tools/win32/bzr.iss.cog
80
iscc /Q tools/win32/bzr.iss
82
# win32 python's distutils-based installer
83
# require to have python interpreter installed on win32
84
python-installer: docs
85
python setup.py bdist_wininst --title="Bazaar" --install-script="bzr-win32-bdist-postinstall.py"
88
# clean on win32 all installer-related files and directories
90
python tools/win32/ostools.py remove build
91
python tools/win32/ostools.py remove win32_bzr.exe
92
python tools/win32/ostools.py remove py2exe.log
93
python tools/win32/ostools.py remove doc/*.htm
94
python tools/win32/ostools.py remove doc/bzr_man.txt
95
python tools/win32/ostools.py remove tools/win32/bzr.iss
96
python tools/win32/ostools.py remove bzr-setup*.exe
97
python tools/win32/ostools.py remove dist