Lines Matching full:build
9 SPHINXBUILD = PATH=$(VENVDIR)/bin:$$PATH sphinx-build
20 ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees $(PAPEROPT_$(PAPER)) \
21 $(SPHINXOPTS) $(SPHINXERRORHANDLING) . build/$(BUILDER) $(SOURCES)
23 .PHONY: help build html htmlhelp latex text texinfo changes linkcheck \
29 @echo " clean to remove build files"
48 build: target
49 -mkdir -p build
55 cp ../Misc/NEWS build/NEWS; \
59 $(BLURB) merge -f build/NEWS; \
61 echo "Neither Misc/NEWS.d nor Misc/NEWS found; cannot build docs"; \
66 echo "Missing the required blurb or sphinx-build tools."; \
75 html: build
76 @echo "Build finished. The HTML pages are in build/html."
79 htmlhelp: build
80 @echo "Build finished; now you can run HTML Help Workshop with the" \
81 "build/htmlhelp/pydoc.hhp project file."
84 latex: build
85 @echo "Build finished; the LaTeX files are in build/latex."
90 text: build
91 @echo "Build finished; the text files are in build/text."
94 texinfo: build
95 @echo "Build finished; the python.texi file is in build/texinfo."
99 epub: build
100 @echo "Build finished; the epub files are in build/epub."
103 changes: build
104 @echo "The overview file is in build/changes."
108 @$(MAKE) build BUILDER=$(BUILDER) || { \
110 "or in build/$(BUILDER)/output.txt"; \
115 @$(MAKE) build BUILDER=$(BUILDER) || { \
117 "or in build/$(BUILDER)/suspicious.csv. If all issues are false" \
122 coverage: build
123 @echo "Coverage finished; see c.txt and python.txt in build/coverage"
127 @$(MAKE) build BUILDER=$(BUILDER) || { \
129 "results in build/doctest/output.txt"; \
133 pydoc-topics: build
135 "cp build/pydoc-topics/topics.py ../Lib/pydoc_data/topics.py"
138 $(PYTHON) -c "import webbrowser; webbrowser.open('build/html/index.html')"
141 -rm -rf build/* $(VENVDIR)/*
155 cp -pPR build/html dist/python-$(DISTVERSION)-docs-html
162 # archive the text build
164 cp -pPR build/text dist/python-$(DISTVERSION)-docs-text
172 rm -rf build/latex
174 -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
175 (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2)
176 cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-a4.zip
177 cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2
180 rm -rf build/latex
182 -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
183 (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2)
184 cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip
185 cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2
187 # copy the epub build
188 rm -rf build/epub
190 cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION)-docs.epub
192 # archive the texinfo build
193 rm -rf build/texinfo
195 make info --directory=build/texinfo
196 cp -pPR build/texinfo dist/python-$(DISTVERSION)-docs-texinfo
207 $(PYTHON) ../Tools/scripts/serve.py build/html
209 # Targets for daily automated doc build
212 # To ensure such changes are picked up, we build the published docs with
216 # for development releases: always build
225 # for stable releases: only build if not in pre-release stage (alpha, beta)