Lines Matching full:build
9 SPHINXBUILD = PATH=$(VENVDIR)/bin:$$PATH sphinx-build
15 ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_elements.papersize=$(PAPER) \
16 $(SPHINXOPTS) . build/$(BUILDER) $(SOURCES)
18 .PHONY: help build html htmlhelp latex text changes linkcheck \
24 @echo " clean to remove build files"
42 build: target
43 -mkdir -p build
49 cp ../Misc/NEWS build/NEWS; \
52 $(BLURB) merge -f build/NEWS; \
54 echo "Neither Misc/NEWS.d nor Misc/NEWS found; cannot build docs"; \
61 html: build
62 @echo "Build finished. The HTML pages are in build/html."
65 htmlhelp: build
66 @echo "Build finished; now you can run HTML Help Workshop with the" \
67 "build/htmlhelp/pydoc.hhp project file."
70 latex: build
71 @echo "Build finished; the LaTeX files are in build/latex."
76 text: build
77 @echo "Build finished; the text files are in build/text."
80 epub: build
81 @echo "Build finished; the epub files are in build/epub."
84 changes: build
85 @echo "The overview file is in build/changes."
89 @$(MAKE) build BUILDER=$(BUILDER) || { \
91 "or in build/$(BUILDER)/output.txt"; \
96 @$(MAKE) build BUILDER=$(BUILDER) || { \
98 "or in build/$(BUILDER)/suspicious.csv. If all issues are false" \
103 coverage: build
104 @echo "Coverage finished; see c.txt and python.txt in build/coverage"
108 @$(MAKE) build BUILDER=$(BUILDER) || { \
110 "results in build/doctest/output.txt"; \
114 pydoc-topics: build
116 "cp build/pydoc-topics/topics.py ../Lib/pydoc_data/topics.py"
119 $(PYTHON) -c "import webbrowser; webbrowser.open('build/html/index.html')"
122 -rm -rf build/* $(VENVDIR)/*
135 cp -pPR build/html dist/python-$(DISTVERSION)-docs-html
142 # archive the text build
144 cp -pPR build/text dist/python-$(DISTVERSION)-docs-text
152 rm -rf build/latex
154 -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
155 (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2)
156 cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-a4.zip
157 cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2
160 rm -rf build/latex
162 -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
163 (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2)
164 cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip
165 cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2
167 # copy the epub build
168 rm -rf build/epub
170 cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION)-docs.epub
176 ../Tools/scripts/serve.py build/html
178 # Targets for daily automated doc build
181 # To ensure such changes are picked up, we build the published docs with
185 # for development releases: always build
194 # for stable releases: only build if not in pre-release stage (alpha, beta)