Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe427fe

Browse files
committed
Merged revisions 78908 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r78908 | georg.brandl | 2010-03-13 11:12:39 +0100 (Sa, 13 Mär 2010) | 1 line Add Makefile targets for automatic doc build. Add script that will be used for daily build. ........
1 parent d94b4a7 commit fe427fe

1 file changed

Lines changed: 31 additions & 10 deletions

File tree

Doc/Makefile

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,27 @@ DISTVERSION = $(shell $(PYTHON) tools/sphinxext/patchlevel.py)
1414
ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_paper_size=$(PAPER) \
1515
$(SPHINXOPTS) . build/$(BUILDER) $(SOURCES)
1616

17-
.PHONY: help checkout update build html htmlhelp clean coverage dist check
17+
.PHONY: help checkout update build html htmlhelp latex text changes linkcheck \
18+
suspicious coverage doctest pydoc-topics htmlview clean dist check serve \
19+
autobuild-dev autobuild-stable
1820

1921
help:
2022
@echo "Please use \`make <target>' where <target> is one of"
21-
@echo " html to make standalone HTML files"
22-
@echo " htmlhelp to make HTML files and a HTML help project"
23-
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
24-
@echo " text to make plain text files"
25-
@echo " changes to make an overview over all changed/added/deprecated items"
26-
@echo " linkcheck to check all external links for integrity"
23+
@echo " clean to remove build files"
24+
@echo " update to update build tools"
25+
@echo " html to make standalone HTML files"
26+
@echo " htmlhelp to make HTML files and a HTML help project"
27+
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
28+
@echo " text to make plain text files"
29+
@echo " changes to make an overview over all changed/added/deprecated items"
30+
@echo " linkcheck to check all external links for integrity"
31+
@echo " coverage to check documentation coverage for library and C API"
32+
@echo " doctest to run doctests in the documentation"
33+
@echo " pydoc-topics to regenerate the pydoc topics file"
34+
@echo " dist to create a \"dist\" directory with archived docs for download"
2735
@echo " suspicious to check for suspicious markup in output text"
28-
@echo " coverage to check documentation coverage for library and C API"
29-
@echo " dist to create a \"dist\" directory with archived docs for download"
30-
@echo " serve to serve the documentation on the localhost (8000)"
36+
@echo " check to run a check for frequent markup errors"
37+
@echo " serve to serve the documentation on the localhost (8000)"
3138

3239
# Note: if you update versions here, do the same in make.bat and README.txt
3340
checkout:
@@ -153,3 +160,17 @@ check:
153160

154161
serve:
155162
../Tools/scripts/serve.py build/html
163+
164+
# Targets for automatic doc build
165+
166+
# for development releases: always build
167+
autobuild-dev:
168+
make update
169+
make dist
170+
171+
# for stable releases: only build if not in development mode
172+
autobuild-stable:
173+
@case $(DISTVERSION) in *[abc]*) \
174+
echo "Not building; not a release version."; exit 1;; \
175+
esac
176+
@make autobuild-dev

0 commit comments

Comments
 (0)