Mercurial > cpython-lru_cache-weakref
annotate Doc/Makefile @ 58925:eecf1bef052d 2.6
Merged revisions 78207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78207 | ezio.melotti | 2010-02-17 01:26:09 +0200 (Wed, 17 Feb 2010) | 1 line
#7930: fix stripid
........
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Tue, 16 Feb 2010 23:29:44 +0000 |
| parents | 5ad5a1d612e5 |
| children | 5a16bf6da989 |
| rev | line source |
|---|---|
|
42604
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
1 # |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
2 # Makefile for Python documentation |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
4 # |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
5 |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
6 # You can set these variables from the command line. |
|
42608
3cc2cc795765
Don't use "?=" which seems to be a GNUism.
Georg Brandl <georg@python.org>
parents:
42604
diff
changeset
|
7 PYTHON = python |
|
3cc2cc795765
Don't use "?=" which seems to be a GNUism.
Georg Brandl <georg@python.org>
parents:
42604
diff
changeset
|
8 SVNROOT = http://svn.python.org/projects |
|
3cc2cc795765
Don't use "?=" which seems to be a GNUism.
Georg Brandl <georg@python.org>
parents:
42604
diff
changeset
|
9 SPHINXOPTS = |
|
44323
e97f105d1c83
Adapt conf.py to new option names.
Georg Brandl <georg@python.org>
parents:
44103
diff
changeset
|
10 PAPER = |
|
46002
24083305d1c7
Allow giving source names on the cmdline.
Georg Brandl <georg@python.org>
parents:
46001
diff
changeset
|
11 SOURCES = |
|
50305
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
12 DISTVERSION = $(shell $(PYTHON) tools/sphinxext/patchlevel.py) |
|
42604
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
13 |
|
44323
e97f105d1c83
Adapt conf.py to new option names.
Georg Brandl <georg@python.org>
parents:
44103
diff
changeset
|
14 ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_paper_size=$(PAPER) \ |
|
46002
24083305d1c7
Allow giving source names on the cmdline.
Georg Brandl <georg@python.org>
parents:
46001
diff
changeset
|
15 $(SPHINXOPTS) . build/$(BUILDER) $(SOURCES) |
|
42604
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
16 |
|
50522
ee9ced92843a
Merged revisions 68133-68134,68141-68142,68145-68146,68148-68149,68159-68162,68166,68171-68174,68179,68195-68196,68210,68214-68215,68217-68222 via svnmerge from
Georg Brandl <georg@python.org>
parents:
50305
diff
changeset
|
17 .PHONY: help checkout update build html htmlhelp clean coverage dist check |
|
42604
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
18 |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
19 help: |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
20 @echo "Please use \`make <target>' where <target> is one of" |
|
45087
99ef248fb315
Add link checker builder, written for GHOP by Thomas Lamb.
Georg Brandl <georg@python.org>
parents:
44383
diff
changeset
|
21 @echo " html to make standalone HTML files" |
|
99ef248fb315
Add link checker builder, written for GHOP by Thomas Lamb.
Georg Brandl <georg@python.org>
parents:
44383
diff
changeset
|
22 @echo " htmlhelp to make HTML files and a HTML help project" |
|
99ef248fb315
Add link checker builder, written for GHOP by Thomas Lamb.
Georg Brandl <georg@python.org>
parents:
44383
diff
changeset
|
23 @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" |
|
47420
e8797e6e07a7
Add plain text make target.
Georg Brandl <georg@python.org>
parents:
46436
diff
changeset
|
24 @echo " text to make plain text files" |
|
45087
99ef248fb315
Add link checker builder, written for GHOP by Thomas Lamb.
Georg Brandl <georg@python.org>
parents:
44383
diff
changeset
|
25 @echo " changes to make an overview over all changed/added/deprecated items" |
|
99ef248fb315
Add link checker builder, written for GHOP by Thomas Lamb.
Georg Brandl <georg@python.org>
parents:
44383
diff
changeset
|
26 @echo " linkcheck to check all external links for integrity" |
|
50646
e496fdb927fa
Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
50522
diff
changeset
|
27 @echo " suspicious to check for suspicious markup in output text" |
|
45472
6ba5308f7ba4
Documentation coverage builder, part 1.
Georg Brandl <georg@python.org>
parents:
45091
diff
changeset
|
28 @echo " coverage to check documentation coverage for library and C API" |
| 49254 | 29 @echo " dist to create a \"dist\" directory with archived docs for download" |
|
42604
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
30 |
|
53574
b28ddebbd835
Move comment to the right place.
Georg Brandl <georg@python.org>
parents:
53571
diff
changeset
|
31 # Note: if you update versions here, do the same in make.bat and README.txt |
|
42604
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
32 checkout: |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
33 @if [ ! -d tools/sphinx ]; then \ |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
34 echo "Checking out Sphinx..."; \ |
|
57228
a2cb7d2721a3
Merged revisions 76255 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
54959
diff
changeset
|
35 svn checkout $(SVNROOT)/external/Sphinx-0.6.3/sphinx tools/sphinx; \ |
|
42604
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
36 fi |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
37 @if [ ! -d tools/docutils ]; then \ |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
38 echo "Checking out Docutils..."; \ |
|
47831
8c929ce0fb41
Use newer versions of externals.
Georg Brandl <georg@python.org>
parents:
47431
diff
changeset
|
39 svn checkout $(SVNROOT)/external/docutils-0.5/docutils tools/docutils; \ |
|
42604
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
40 fi |
|
50646
e496fdb927fa
Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
50522
diff
changeset
|
41 @if [ ! -d tools/jinja2 ]; then \ |
|
46436
03d9c664a7bc
Check out Jinja as a separate step now that it's not included in the Sphinx package anymore.
Georg Brandl <georg@python.org>
parents:
46002
diff
changeset
|
42 echo "Checking out Jinja..."; \ |
|
50646
e496fdb927fa
Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
50522
diff
changeset
|
43 svn checkout $(SVNROOT)/external/Jinja-2.1.1/jinja2 tools/jinja2; \ |
|
46436
03d9c664a7bc
Check out Jinja as a separate step now that it's not included in the Sphinx package anymore.
Georg Brandl <georg@python.org>
parents:
46002
diff
changeset
|
44 fi |
|
42604
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
45 @if [ ! -d tools/pygments ]; then \ |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
46 echo "Checking out Pygments..."; \ |
|
58008
5ad5a1d612e5
Merged revisions 77145 via svnmerge from
Georg Brandl <georg@python.org>
parents:
57228
diff
changeset
|
47 svn checkout $(SVNROOT)/external/Pygments-1.1.1/pygments tools/pygments; \ |
|
42604
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
48 fi |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
49 |
|
43316
34b50001dd2c
Allow making update with no prior checkout.
Martin v. Löwis <martin@v.loewis.de>
parents:
42609
diff
changeset
|
50 update: checkout |
|
42604
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
51 svn update tools/sphinx |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
52 svn update tools/docutils |
|
50646
e496fdb927fa
Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
50522
diff
changeset
|
53 svn update tools/jinja2 |
|
42604
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
54 svn update tools/pygments |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
55 |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
56 build: checkout |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
57 mkdir -p build/$(BUILDER) build/doctrees |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
58 $(PYTHON) tools/sphinx-build.py $(ALLSPHINXOPTS) |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
59 @echo |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
60 |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
61 html: BUILDER = html |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
62 html: build |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
63 @echo "Build finished. The HTML pages are in build/html." |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
64 |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
65 htmlhelp: BUILDER = htmlhelp |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
66 htmlhelp: build |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
67 @echo "Build finished; now you can run HTML Help Workshop with the" \ |
|
42609
d3362c495296
Fix a wrong path in the Makefile.
Georg Brandl <georg@python.org>
parents:
42608
diff
changeset
|
68 "build/htmlhelp/pydoc.hhp project file." |
|
42604
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
69 |
|
44103
1e266015cf5b
Add more entries to the glossary.
Georg Brandl <georg@python.org>
parents:
43647
diff
changeset
|
70 latex: BUILDER = latex |
|
1e266015cf5b
Add more entries to the glossary.
Georg Brandl <georg@python.org>
parents:
43647
diff
changeset
|
71 latex: build |
|
1e266015cf5b
Add more entries to the glossary.
Georg Brandl <georg@python.org>
parents:
43647
diff
changeset
|
72 @echo "Build finished; the LaTeX files are in build/latex." |
|
44323
e97f105d1c83
Adapt conf.py to new option names.
Georg Brandl <georg@python.org>
parents:
44103
diff
changeset
|
73 @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \ |
|
e97f105d1c83
Adapt conf.py to new option names.
Georg Brandl <georg@python.org>
parents:
44103
diff
changeset
|
74 "run these through (pdf)latex." |
|
44103
1e266015cf5b
Add more entries to the glossary.
Georg Brandl <georg@python.org>
parents:
43647
diff
changeset
|
75 |
|
47420
e8797e6e07a7
Add plain text make target.
Georg Brandl <georg@python.org>
parents:
46436
diff
changeset
|
76 text: BUILDER = text |
|
e8797e6e07a7
Add plain text make target.
Georg Brandl <georg@python.org>
parents:
46436
diff
changeset
|
77 text: build |
|
e8797e6e07a7
Add plain text make target.
Georg Brandl <georg@python.org>
parents:
46436
diff
changeset
|
78 @echo "Build finished; the text files are in build/text." |
|
e8797e6e07a7
Add plain text make target.
Georg Brandl <georg@python.org>
parents:
46436
diff
changeset
|
79 |
|
44383
3625234bf3d2
Some cleanup in the docs.
Georg Brandl <georg@python.org>
parents:
44323
diff
changeset
|
80 changes: BUILDER = changes |
|
3625234bf3d2
Some cleanup in the docs.
Georg Brandl <georg@python.org>
parents:
44323
diff
changeset
|
81 changes: build |
|
3625234bf3d2
Some cleanup in the docs.
Georg Brandl <georg@python.org>
parents:
44323
diff
changeset
|
82 @echo "The overview file is in build/changes." |
|
3625234bf3d2
Some cleanup in the docs.
Georg Brandl <georg@python.org>
parents:
44323
diff
changeset
|
83 |
|
45087
99ef248fb315
Add link checker builder, written for GHOP by Thomas Lamb.
Georg Brandl <georg@python.org>
parents:
44383
diff
changeset
|
84 linkcheck: BUILDER = linkcheck |
|
99ef248fb315
Add link checker builder, written for GHOP by Thomas Lamb.
Georg Brandl <georg@python.org>
parents:
44383
diff
changeset
|
85 linkcheck: build |
|
45472
6ba5308f7ba4
Documentation coverage builder, part 1.
Georg Brandl <georg@python.org>
parents:
45091
diff
changeset
|
86 @echo "Link check complete; look for any errors in the above output " \ |
| 45091 | 87 "or in build/$(BUILDER)/output.txt" |
|
45087
99ef248fb315
Add link checker builder, written for GHOP by Thomas Lamb.
Georg Brandl <georg@python.org>
parents:
44383
diff
changeset
|
88 |
|
50646
e496fdb927fa
Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
50522
diff
changeset
|
89 suspicious: BUILDER = suspicious |
|
e496fdb927fa
Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
50522
diff
changeset
|
90 suspicious: build |
|
e496fdb927fa
Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
50522
diff
changeset
|
91 @echo "Suspicious check complete; look for any errors in the above output " \ |
|
e496fdb927fa
Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
50522
diff
changeset
|
92 "or in build/$(BUILDER)/suspicious.txt" |
|
e496fdb927fa
Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
50522
diff
changeset
|
93 |
|
45472
6ba5308f7ba4
Documentation coverage builder, part 1.
Georg Brandl <georg@python.org>
parents:
45091
diff
changeset
|
94 coverage: BUILDER = coverage |
|
6ba5308f7ba4
Documentation coverage builder, part 1.
Georg Brandl <georg@python.org>
parents:
45091
diff
changeset
|
95 coverage: build |
|
6ba5308f7ba4
Documentation coverage builder, part 1.
Georg Brandl <georg@python.org>
parents:
45091
diff
changeset
|
96 @echo "Coverage finished; see c.txt and python.txt in build/coverage" |
|
6ba5308f7ba4
Documentation coverage builder, part 1.
Georg Brandl <georg@python.org>
parents:
45091
diff
changeset
|
97 |
|
46001
a99ca1e575ed
Activate the Sphinx doctest extension and convert howto/functional to use it.
Georg Brandl <georg@python.org>
parents:
45472
diff
changeset
|
98 doctest: BUILDER = doctest |
|
a99ca1e575ed
Activate the Sphinx doctest extension and convert howto/functional to use it.
Georg Brandl <georg@python.org>
parents:
45472
diff
changeset
|
99 doctest: build |
|
a99ca1e575ed
Activate the Sphinx doctest extension and convert howto/functional to use it.
Georg Brandl <georg@python.org>
parents:
45472
diff
changeset
|
100 @echo "Testing of doctests in the sources finished, look at the " \ |
|
a99ca1e575ed
Activate the Sphinx doctest extension and convert howto/functional to use it.
Georg Brandl <georg@python.org>
parents:
45472
diff
changeset
|
101 "results in build/doctest/output.txt" |
|
a99ca1e575ed
Activate the Sphinx doctest extension and convert howto/functional to use it.
Georg Brandl <georg@python.org>
parents:
45472
diff
changeset
|
102 |
|
47431
c0d616f0ad86
Generate pydoc's topic help from the reST docs via Sphinx'
Georg Brandl <georg@python.org>
parents:
47420
diff
changeset
|
103 pydoc-topics: BUILDER = pydoc-topics |
|
c0d616f0ad86
Generate pydoc's topic help from the reST docs via Sphinx'
Georg Brandl <georg@python.org>
parents:
47420
diff
changeset
|
104 pydoc-topics: build |
|
c0d616f0ad86
Generate pydoc's topic help from the reST docs via Sphinx'
Georg Brandl <georg@python.org>
parents:
47420
diff
changeset
|
105 @echo "Building finished; now copy build/pydoc-topics/pydoc_topics.py " \ |
|
c0d616f0ad86
Generate pydoc's topic help from the reST docs via Sphinx'
Georg Brandl <georg@python.org>
parents:
47420
diff
changeset
|
106 "into the Lib/ directory" |
|
c0d616f0ad86
Generate pydoc's topic help from the reST docs via Sphinx'
Georg Brandl <georg@python.org>
parents:
47420
diff
changeset
|
107 |
|
47832
723c0ff698b7
add a htmlview directive
Benjamin Peterson <benjamin@python.org>
parents:
47831
diff
changeset
|
108 htmlview: html |
|
723c0ff698b7
add a htmlview directive
Benjamin Peterson <benjamin@python.org>
parents:
47831
diff
changeset
|
109 $(PYTHON) -c "import webbrowser; webbrowser.open('build/html/index.html')" |
| 49254 | 110 |
|
42604
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
111 clean: |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
112 -rm -rf build/* |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
113 -rm -rf tools/sphinx |
| 49254 | 114 |
| 115 dist: | |
| 116 -rm -rf dist | |
| 117 mkdir -p dist | |
| 118 | |
| 119 # archive the HTML | |
| 120 make html | |
|
50305
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
121 cp -pPR build/html dist/python-$(DISTVERSION)-docs-html |
|
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
122 tar -C dist -cf dist/python-$(DISTVERSION)-docs-html.tar python-$(DISTVERSION)-docs-html |
|
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
123 bzip2 -9 -k dist/python-$(DISTVERSION)-docs-html.tar |
|
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
124 (cd dist; zip -q -r -9 python-$(DISTVERSION)-docs-html.zip python-$(DISTVERSION)-docs-html) |
|
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
125 rm -r dist/python-$(DISTVERSION)-docs-html |
|
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
126 rm dist/python-$(DISTVERSION)-docs-html.tar |
| 49254 | 127 |
| 128 # archive the text build | |
| 129 make text | |
|
50305
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
130 cp -pPR build/text dist/python-$(DISTVERSION)-docs-text |
|
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
131 tar -C dist -cf dist/python-$(DISTVERSION)-docs-text.tar python-$(DISTVERSION)-docs-text |
|
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
132 bzip2 -9 -k dist/python-$(DISTVERSION)-docs-text.tar |
|
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
133 (cd dist; zip -q -r -9 python-$(DISTVERSION)-docs-text.zip python-$(DISTVERSION)-docs-text) |
|
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
134 rm -r dist/python-$(DISTVERSION)-docs-text |
|
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
135 rm dist/python-$(DISTVERSION)-docs-text.tar |
| 49254 | 136 |
| 137 # archive the A4 latex | |
| 138 -rm -r build/latex | |
| 139 make latex PAPER=a4 | |
| 140 (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2) | |
|
50305
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
141 cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-a4.zip |
|
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
142 cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2 |
| 49254 | 143 |
| 144 # archive the letter latex | |
| 145 rm -r build/latex | |
| 146 make latex PAPER=letter | |
| 147 (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2) | |
|
50305
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
148 cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip |
|
e673632e1885
Merged revisions 67898,67904-67907,67912,67918,67920-67921,67923-67924,67927,67930,67932,67943 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
49374
diff
changeset
|
149 cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2 |
| 49254 | 150 |
|
50522
ee9ced92843a
Merged revisions 68133-68134,68141-68142,68145-68146,68148-68149,68159-68162,68166,68171-68174,68179,68195-68196,68210,68214-68215,68217-68222 via svnmerge from
Georg Brandl <georg@python.org>
parents:
50305
diff
changeset
|
151 check: |
|
ee9ced92843a
Merged revisions 68133-68134,68141-68142,68145-68146,68148-68149,68159-68162,68166,68171-68174,68179,68195-68196,68210,68214-68215,68217-68222 via svnmerge from
Georg Brandl <georg@python.org>
parents:
50305
diff
changeset
|
152 $(PYTHON) tools/rstlint.py -i tools |
