4
python -Werror ./bzr selftest -v $(tests)
4
./bzr selftest -v $(tests)
5
5
@echo "Running all tests with no locale."
6
6
LC_CTYPE= LANG=C LC_ALL= ./bzr selftest -v $(tests)
7
python -O -Werror ./bzr selftest -v $(tests)
10
9
./bzr --no-plugins selftest -v msgeditor
43
41
# translate txt docs to html
45
txt_files := $(wildcard $(addsuffix /*.txt, $(doc_dir))) doc/bzr_man.txt
46
htm_files := $(patsubst %.txt, %.htm, $(txt_files))
48
pretty-html-docs: pretty_files
51
python -c "import os; os.mkdir('$(PRETTYDIR)')"
53
pretty_files: $(patsubst doc/%.txt, $(PRETTYDIR)/%.htm, $(txt_files))
55
doc/HACKING.htm: HACKING
56
python tools/rst2html.py --link-stylesheet --stylesheet=default.css HACKING doc/HACKING.htm
59
python tools/rst2html.py --link-stylesheet --stylesheet=default.css doc/$*.txt doc/$*.htm
61
$(PRETTYDIR)/%.htm: pretty_docs doc/%.txt
62
python tools/rst2prettyhtml.py doc/bazaar-vcs.org.kid doc/$*.txt \
65
MAN_DEPENDENCIES = bzrlib/builtins.py \
43
txt_files := $(wildcard $(addsuffix /*.txt, $(doc_dir)))
44
htm_files := $(patsubst %.txt, %.htm, $(txt_files)) doc/bzr_man.htm
47
python tools/rst2html.py --link-stylesheet --stylesheet=default.css $*.txt $*.htm
49
doc/bzr_man.txt: bzrlib/builtins.py \
66
50
bzrlib/bundle/commands.py \
67
51
bzrlib/conflicts.py \
68
52
bzrlib/sign_my_commits.py \
70
54
tools/doc_generate/__init__.py \
71
55
tools/doc_generate/autodoc_rstx.py
73
doc/bzr_man.txt: $(MAN_DEPENDENCIES)
74
python generate_docs.py -o $@ rstx
76
MAN_PAGES = man1/bzr.1
77
man1/bzr.1: $(MAN_DEPENDENCIES)
78
python generate_docs.py -o $@ man
80
docs: $(htm_files) $(MAN_PAGES) doc/HACKING.htm
56
python generate_docs.py -o doc/bzr_man.txt rstx
83
61
python tools/win32/ostools.py copytodir $(htm_files) doc/default.css NEWS README win32_bzr.exe/doc
85
63
# clean produced docs
87
python tools/win32/ostools.py remove $(htm_files) \
88
$(HTMLDIR) $(PRETTYDIR) doc/bzr_man.txt $(MAN_PAGES)
65
python tools/win32/ostools.py remove doc/bzr_man.txt $(htm_files) $(HTMLDIR)
91
68
# make bzr.exe for win32 with py2exe
104
81
# win32 python's distutils-based installer
105
82
# require to have python interpreter installed on win32
106
83
python-installer: docs
107
python setup.py bdist_wininst --install-script="bzr-win32-bdist-postinstall.py" -d .
84
python setup.py bdist_wininst --title="Bazaar" --install-script="bzr-win32-bdist-postinstall.py"
110
87
# clean on win32 all installer-related files and directories
116
93
python tools/win32/ostools.py remove doc/bzr_man.txt
117
94
python tools/win32/ostools.py remove tools/win32/bzr.iss
118
95
python tools/win32/ostools.py remove bzr-setup*.exe
119
python tools/win32/ostools.py remove bzr-*win32.exe
120
96
python tools/win32/ostools.py remove dist