Lines Matching refs:build
9 SPHINXBUILD = PATH=$(VENVDIR)/bin:$$PATH sphinx-build
23 ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees $(PAPEROPT_$(PAPER)) -j $(JOBS) \
24 $(SPHINXOPTS) $(SPHINXERRORHANDLING) . build/$(BUILDER) $(SOURCES)
26 .PHONY: help build html htmlhelp latex text texinfo changes linkcheck \
32 @echo " clean to remove build files"
50 build:
51 -mkdir -p build
57 cp ../Misc/NEWS build/NEWS; \
61 $(BLURB) merge -f build/NEWS; \
63 echo "Neither Misc/NEWS.d nor Misc/NEWS found; cannot build docs"; \
68 echo "Missing the required blurb or sphinx-build tools."; \
77 html: build
78 @echo "Build finished. The HTML pages are in build/html."
81 htmlhelp: build
83 "build/htmlhelp/pydoc.hhp project file."
86 latex: build
87 @echo "Build finished; the LaTeX files are in build/latex."
92 text: build
93 @echo "Build finished; the text files are in build/text."
96 texinfo: build
97 @echo "Build finished; the python.texi file is in build/texinfo."
101 epub: build
102 @echo "Build finished; the epub files are in build/epub."
105 changes: build
106 @echo "The overview file is in build/changes."
110 @$(MAKE) build BUILDER=$(BUILDER) || { \
112 "or in build/$(BUILDER)/output.txt"; \
117 @$(MAKE) build BUILDER=$(BUILDER) || { \
119 "or in build/$(BUILDER)/suspicious.csv. If all issues are false" \
128 coverage: build
129 @echo "Coverage finished; see c.txt and python.txt in build/coverage"
133 @$(MAKE) build BUILDER=$(BUILDER) || { \
135 "results in build/doctest/output.txt"; \
139 pydoc-topics: build
141 "cp build/pydoc-topics/topics.py ../Lib/pydoc_data/topics.py"
144 $(PYTHON) -c "import os, webbrowser; webbrowser.open('file://' + os.path.realpath('build/html/index.html'))"
147 -rm -rf build/*
169 cp -pPR build/html dist/python-$(DISTVERSION)-docs-html
176 # archive the text build
178 cp -pPR build/text dist/python-$(DISTVERSION)-docs-text
186 rm -rf build/latex
188 -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
189 (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2)
190 cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-a4.zip
191 cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2
194 rm -rf build/latex
196 -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
197 (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2)
198 cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip
199 cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2
201 # copy the epub build
202 rm -rf build/epub
204 cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION)-docs.epub
206 # archive the texinfo build
207 rm -rf build/texinfo
209 make info --directory=build/texinfo
210 cp -pPR build/texinfo dist/python-$(DISTVERSION)-docs-texinfo
226 # Targets for daily automated doc build
229 # To ensure such changes are picked up, we build the published docs with
233 # for development releases: always build
241 # for stable releases: only build if not in pre-release stage (alpha, beta)