1773.4.1
by Martin Pool
Add pyflakes makefile target; fix many warnings |
1 |
all: |
1102
by Martin Pool
- merge test refactoring from robertc |
2 |
|
3 |
check: |
|
1704.1.1
by Robert Collins
'bzr selftest' now shows a progress bar with the number of tests, and |
4 |
./bzr selftest -v $(tests) |
1526.1.1
by Robert Collins
Run the test suite with no locale as well as the default locale. Also add a test for build_tree_shape to selftest. |
5 |
@echo "Running all tests with no locale."
|
1704.1.1
by Robert Collins
'bzr selftest' now shows a progress bar with the number of tests, and |
6 |
LC_CTYPE= LANG=C LC_ALL= ./bzr selftest -v $(tests) |
1102
by Martin Pool
- merge test refactoring from robertc |
7 |
|
1185.33.72
by Martin Pool
Fix commit message template for non-ascii files, and add test for handling of |
8 |
check-msgeditor: |
9 |
./bzr --no-plugins selftest -v msgeditor |
|
10 |
||
1773.4.1
by Martin Pool
Add pyflakes makefile target; fix many warnings |
11 |
# Run Python style checker (apt-get install pyflakes)
|
12 |
pyflakes: |
|
13 |
pyflakes bzrlib |
|
14 |
||
15 |
pyflakes-nounused: |
|
16 |
# There are many of these warnings at the moment and they're not a
|
|
17 |
# high priority to fix
|
|
18 |
pyflakes bzrlib | grep -v ' imported but unused' |
|
19 |
||
20 |
clean: |
|
1185.1.21
by Robert Collins
add a clean target |
21 |
./setup.py clean |
1185.62.18
by John Arbash Meinel
From Jari Alto: Makefile fixes (clean target error suppression) |
22 |
-find . -name "*.pyc" -o -name "*.pyo" | xargs rm -f |
1427
by Robert Collins
clean up test dirs on make clean |
23 |
rm -rf test????.tmp |
1185.1.21
by Robert Collins
add a clean target |
24 |
|
1102
by Martin Pool
- merge test refactoring from robertc |
25 |
.PHONY: all |
1158
by Martin Pool
- make target to build emacs TAGS file |
26 |
|
27 |
||
28 |
# build emacs cross-reference
|
|
29 |
tag_files=./bzr ./bzrlib/*py ./bzrlib/selftest/*.py |
|
30 |
TAGS: $(tag_files) |
|
31 |
ctags-exuberant -e $(tag_files) |
|
1536.1.1
by Martin Pool
Move in tutorial text from wiki. |
32 |
|
1821.1.1
by Alexander Belchenko
win32 installer for bzr.dev.0.9 |
33 |
|
1928.2.1
by Alexander Belchenko
New target to produce html docs to upload on server |
34 |
# Produce HTML docs to upload on Canonical server
|
35 |
HTMLDIR := html_docs |
|
36 |
||
1711.2.129
by John Arbash Meinel
change htmldocs => html-docs, to be consistent with other -docs functions |
37 |
html-docs: docs |
1928.2.1
by Alexander Belchenko
New target to produce html docs to upload on server |
38 |
python tools/win32/ostools.py copytodir $(htm_files) doc/default.css $(HTMLDIR) |
39 |
||
1821.1.1
by Alexander Belchenko
win32 installer for bzr.dev.0.9 |
40 |
|
41 |
# translate txt docs to html
|
|
42 |
doc_dir := doc |
|
43 |
txt_files := $(wildcard $(addsuffix /*.txt, $(doc_dir))) |
|
44 |
htm_files := $(patsubst %.txt, %.htm, $(txt_files)) doc/bzr_man.htm |
|
45 |
||
46 |
%.htm: %.txt |
|
1928.2.1
by Alexander Belchenko
New target to produce html docs to upload on server |
47 |
python tools/rst2html.py --link-stylesheet --stylesheet=default.css $*.txt $*.htm |
1821.1.1
by Alexander Belchenko
win32 installer for bzr.dev.0.9 |
48 |
|
1928.2.1
by Alexander Belchenko
New target to produce html docs to upload on server |
49 |
doc/bzr_man.txt: bzrlib/builtins.py \ |
50 |
bzrlib/bundle/commands.py \ |
|
51 |
bzrlib/conflicts.py \ |
|
52 |
bzrlib/sign_my_commits.py \ |
|
53 |
generate_docs.py \ |
|
54 |
tools/doc_generate/__init__.py \ |
|
55 |
tools/doc_generate/autodoc_rstx.py |
|
1912.4.1
by Alexander Belchenko
generate_docs.py should be invoked with python interpreter for cross-platform compatibility |
56 |
python generate_docs.py -o doc/bzr_man.txt rstx |
1821.1.1
by Alexander Belchenko
win32 installer for bzr.dev.0.9 |
57 |
|
58 |
docs: $(htm_files) |
|
59 |
||
1928.2.1
by Alexander Belchenko
New target to produce html docs to upload on server |
60 |
copy-docs: docs |
1861.2.18
by Alexander Belchenko
Makefile: cross-platform actions for building installer |
61 |
python tools/win32/ostools.py copytodir $(htm_files) doc/default.css NEWS README win32_bzr.exe/doc |
1821.1.1
by Alexander Belchenko
win32 installer for bzr.dev.0.9 |
62 |
|
1928.2.1
by Alexander Belchenko
New target to produce html docs to upload on server |
63 |
# clean produced docs
|
64 |
clean-docs: |
|
65 |
python tools/win32/ostools.py remove doc/bzr_man.txt $(htm_files) $(HTMLDIR) |
|
66 |
||
67 |
||
68 |
# make bzr.exe for win32 with py2exe
|
|
69 |
exe: |
|
70 |
@echo *** Make bzr.exe |
|
71 |
python setup.py py2exe > py2exe.log |
|
72 |
python tools/win32/ostools.py copytodir tools/win32/start_bzr.bat win32_bzr.exe |
|
73 |
python tools/win32/ostools.py copytodir tools/win32/bazaar.url win32_bzr.exe |
|
74 |
||
1821.1.1
by Alexander Belchenko
win32 installer for bzr.dev.0.9 |
75 |
# win32 installer for bzr.exe
|
76 |
installer: exe copy_docs |
|
1861.2.18
by Alexander Belchenko
Makefile: cross-platform actions for building installer |
77 |
@echo *** Make windows installer |
78 |
cog.py -d -o tools/win32/bzr.iss tools/win32/bzr.iss.cog |
|
79 |
iscc /Q tools/win32/bzr.iss |
|
1821.1.1
by Alexander Belchenko
win32 installer for bzr.dev.0.9 |
80 |
|
1821.1.2
by Alexander Belchenko
resurrected python's distutils based installer for win32 |
81 |
# win32 python's distutils-based installer
|
82 |
# require to have python interpreter installed on win32
|
|
1860.1.3
by Alexander Belchenko
python-installer: |
83 |
python-installer: docs |
1861.2.6
by Alexander Belchenko
branding: change Bazaar-NG to Bazaar |
84 |
python setup.py bdist_wininst --title="Bazaar" --install-script="bzr-win32-bdist-postinstall.py" |
1821.1.2
by Alexander Belchenko
resurrected python's distutils based installer for win32 |
85 |
|
86 |
||
1821.1.1
by Alexander Belchenko
win32 installer for bzr.dev.0.9 |
87 |
# clean on win32 all installer-related files and directories
|
1928.2.1
by Alexander Belchenko
New target to produce html docs to upload on server |
88 |
clean-win32: |
1861.2.18
by Alexander Belchenko
Makefile: cross-platform actions for building installer |
89 |
python tools/win32/ostools.py remove build |
90 |
python tools/win32/ostools.py remove win32_bzr.exe |
|
91 |
python tools/win32/ostools.py remove py2exe.log |
|
92 |
python tools/win32/ostools.py remove doc/*.htm |
|
93 |
python tools/win32/ostools.py remove doc/bzr_man.txt |
|
94 |
python tools/win32/ostools.py remove tools/win32/bzr.iss |
|
95 |
python tools/win32/ostools.py remove bzr-setup*.exe |
|
96 |
python tools/win32/ostools.py remove dist |