Lines Matching +full:- +full:- +full:build
8 SPHINXBUILD = sphinx-build
13 ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_paper_size=$(PAPER) \
14 $(SPHINXOPTS) . build/$(BUILDER) $(SOURCES)
16 .PHONY: help build html htmlhelp latex text changes linkcheck \
17 suspicious coverage doctest pydoc-topics htmlview clean dist check serve \
18 autobuild-dev autobuild-stable
22 @echo " clean to remove build files"
33 @echo " pydoc-topics to regenerate the pydoc topics file"
39 build: target
44 html: build
45 @echo "Build finished. The HTML pages are in build/html."
48 htmlhelp: build
49 @echo "Build finished; now you can run HTML Help Workshop with the" \
50 "build/htmlhelp/pydoc.hhp project file."
53 latex: build
54 @echo "Build finished; the LaTeX files are in build/latex."
55 @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
59 text: build
60 @echo "Build finished; the text files are in build/text."
63 epub: build
64 @echo "Build finished; the epub files are in build/epub."
67 changes: build
68 @echo "The overview file is in build/changes."
72 @$(MAKE) build BUILDER=$(BUILDER) || { \
74 "or in build/$(BUILDER)/output.txt"; \
79 @$(MAKE) build BUILDER=$(BUILDER) || { \
81 "or in build/$(BUILDER)/suspicious.csv. If all issues are false" \
82 "positives, append that file to tools/susp-ignored.csv."; \
86 coverage: build
87 @echo "Coverage finished; see c.txt and python.txt in build/coverage"
91 @$(MAKE) build BUILDER=$(BUILDER) || { \
93 "results in build/doctest/output.txt"; \
96 pydoc-topics: BUILDER = pydoc-topics
97 pydoc-topics: build
98 @echo "Building finished; now copy build/pydoc-topics/topics.py" \
102 $(PYTHON) -c "import webbrowser; webbrowser.open('build/html/index.html')"
105 -rm -rf build/*
108 rm -rf dist
109 mkdir -p dist
113 cp -pPR build/html dist/python-$(DISTVERSION)-docs-html
114 tar -C dist -cf dist/python-$(DISTVERSION)-docs-html.tar python-$(DISTVERSION)-docs-html
115 bzip2 -9 -k dist/python-$(DISTVERSION)-docs-html.tar
116 (cd dist; zip -q -r -9 python-$(DISTVERSION)-docs-html.zip python-$(DISTVERSION)-docs-html)
117 rm -r dist/python-$(DISTVERSION)-docs-html
118 rm dist/python-$(DISTVERSION)-docs-html.tar
120 # archive the text build
122 cp -pPR build/text dist/python-$(DISTVERSION)-docs-text
123 tar -C dist -cf dist/python-$(DISTVERSION)-docs-text.tar python-$(DISTVERSION)-docs-text
124 bzip2 -9 -k dist/python-$(DISTVERSION)-docs-text.tar
125 (cd dist; zip -q -r -9 python-$(DISTVERSION)-docs-text.zip python-$(DISTVERSION)-docs-text)
126 rm -r dist/python-$(DISTVERSION)-docs-text
127 rm dist/python-$(DISTVERSION)-docs-text.tar
130 rm -rf build/latex
132 -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
133 (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2)
134 cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-a4.zip
135 cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2
138 rm -rf build/latex
140 -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
141 (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2)
142 cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip
143 cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2
145 # copy the epub build
146 rm -rf build/epub
148 cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION)-docs.epub
151 $(PYTHON) tools/rstlint.py -i tools
154 ../Tools/scripts/serve.py build/html
156 # Targets for daily automated doc build
158 # for development releases: always build
159 autobuild-dev:
160 make dist SPHINXOPTS='$(SPHINXOPTS) -A daily=1 -A versionswitcher=1'
161 -make suspicious
164 autobuild-dev-html:
165 make html SPHINXOPTS='$(SPHINXOPTS) -A daily=1 -A versionswitcher=1'
167 # for stable releases: only build if not in pre-release stage (alpha, beta)
169 autobuild-stable:
174 @make autobuild-dev
176 autobuild-stable-html:
181 @make autobuild-dev-html