annotate Doc/Makefile @ 21467:4e35fa5d5708 legacy-trunk

Add documentation for the help() built-in; contributed by Ka-Ping Yee. This is part of SF patch #494622.
author Fred Drake <fdrake@acm.org>
date Tue, 18 Dec 2001 16:31:08 +0000
parents 31a249a340f8
children fcb649b1004d 935b8602cad9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
1 # Makefile for Python documentation
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
2 # ---------------------------------
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
3 #
2582
3770e4347803 use macros more; added some more docs
Guido van Rossum <guido@python.org>
parents: 2574
diff changeset
4 # See also the README file.
3770e4347803 use macros more; added some more docs
Guido van Rossum <guido@python.org>
parents: 2574
diff changeset
5 #
10676
58ddee1256e9 Updated a comment and the release number.
Fred Drake <fdrake@acm.org>
parents: 10426
diff changeset
6 # This is a bit of a mess. The documents are identified by short names:
8293
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
7 # api -- Python/C API Reference Manual
10676
58ddee1256e9 Updated a comment and the release number.
Fred Drake <fdrake@acm.org>
parents: 10426
diff changeset
8 # doc -- Documenting Python
8293
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
9 # ext -- Extending and Embedding the Python Interpreter
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
10 # lib -- Library Reference Manual
8737
8d054954708a Remove all-<format> targets in favor of just <format>.
Fred Drake <fdrake@acm.org>
parents: 8731
diff changeset
11 # mac -- Macintosh Library Modules
8266
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
12 # ref -- Python Reference Manual
8293
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
13 # tut -- Python Tutorial
12523
019eaef637ff Added 'inst' and 'dist' -- the two Distutils manuals.
Greg Ward <gward@python.net>
parents: 12291
diff changeset
14 # inst -- Installing Python Modules
019eaef637ff Added 'inst' and 'dist' -- the two Distutils manuals.
Greg Ward <gward@python.net>
parents: 12291
diff changeset
15 # dist -- Distributing Python Modules
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
16 #
16128
d0864902c8c7 Change the main targets to generate HTML instead of PostScript.
Fred Drake <fdrake@acm.org>
parents: 15269
diff changeset
17 # The LaTeX sources for each of these documents are in subdirectories
8266
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
18 # with the three-letter designations above as the directory names.
4453
dcc4cf9fa62a Removed LaTeX version of reference manual. Added ref/ref.ps.
Guido van Rossum <guido@python.org>
parents: 4435
diff changeset
19 #
16128
d0864902c8c7 Change the main targets to generate HTML instead of PostScript.
Fred Drake <fdrake@acm.org>
parents: 15269
diff changeset
20 # The main target creates HTML for each of the documents. You can
d0864902c8c7 Change the main targets to generate HTML instead of PostScript.
Fred Drake <fdrake@acm.org>
parents: 15269
diff changeset
21 # also do "make lib" (etc.) to create the HTML versions of individual
d0864902c8c7 Change the main targets to generate HTML instead of PostScript.
Fred Drake <fdrake@acm.org>
parents: 15269
diff changeset
22 # documents.
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
23 #
8266
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
24 # The document classes and styles are in the texinputs/ directory.
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
25 # These define a number of macros that are similar in name and intent
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
26 # as macros in Texinfo (e.g. \code{...} and \emph{...}), as well as a
8778
3a1dd01375e0 Added ref/ref.tex to REFFILES.
Fred Drake <fdrake@acm.org>
parents: 8760
diff changeset
27 # number of environments for formatting function and data definitions.
16128
d0864902c8c7 Change the main targets to generate HTML instead of PostScript.
Fred Drake <fdrake@acm.org>
parents: 15269
diff changeset
28 # Documentation for the macros is included in "Documenting Python"; see
d0864902c8c7 Change the main targets to generate HTML instead of PostScript.
Fred Drake <fdrake@acm.org>
parents: 15269
diff changeset
29 # http://www.python.org/doc/current/doc/doc.html, or the sources for
d0864902c8c7 Change the main targets to generate HTML instead of PostScript.
Fred Drake <fdrake@acm.org>
parents: 15269
diff changeset
30 # this document in the doc/ directory.
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
31 #
8293
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
32 # Everything is processed by LaTeX. See the file `README' for more
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
33 # information on the tools needed for processing.
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
34 #
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
35 # There's a problem with generating the index which has been solved by
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
36 # a sed command applied to the index file. The shell script fix_hack
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
37 # does this (the Makefile takes care of calling it).
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
38 #
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
39 # Additional targets attempt to convert selected LaTeX sources to
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
40 # various other formats. These are generally site specific because
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
41 # the tools used are all but universal. These targets are:
8737
8d054954708a Remove all-<format> targets in favor of just <format>.
Fred Drake <fdrake@acm.org>
parents: 8731
diff changeset
42 #
16128
d0864902c8c7 Change the main targets to generate HTML instead of PostScript.
Fred Drake <fdrake@acm.org>
parents: 15269
diff changeset
43 # ps -- convert all documents from LaTeX to PostScript
d0864902c8c7 Change the main targets to generate HTML instead of PostScript.
Fred Drake <fdrake@acm.org>
parents: 15269
diff changeset
44 # pdf -- convert all documents from LaTeX to the
8778
3a1dd01375e0 Added ref/ref.tex to REFFILES.
Fred Drake <fdrake@acm.org>
parents: 8760
diff changeset
45 # Portable Document Format
8737
8d054954708a Remove all-<format> targets in favor of just <format>.
Fred Drake <fdrake@acm.org>
parents: 8731
diff changeset
46 #
8778
3a1dd01375e0 Added ref/ref.tex to REFFILES.
Fred Drake <fdrake@acm.org>
parents: 8760
diff changeset
47 # See the README file for more information on these targets.
8293
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
48 #
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
49 # The formatted output is located in subdirectories. For PDF and
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
50 # PostScript, look in the paper-$(PAPER)/ directory. For HTML, look in
8737
8d054954708a Remove all-<format> targets in favor of just <format>.
Fred Drake <fdrake@acm.org>
parents: 8731
diff changeset
51 # the html/ directory. If you want to fix the GNU info process, look
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
52 # in the info/ directory; please send patches to python-docs@python.org.
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
53
14246
9cd2f790c50c Add a comment noting that the dependency information is stored in
Fred Drake <fdrake@acm.org>
parents: 13271
diff changeset
54 # This Makefile only includes information on how to perform builds; for
9cd2f790c50c Add a comment noting that the dependency information is stored in
Fred Drake <fdrake@acm.org>
parents: 13271
diff changeset
55 # dependency information, see Makefile.deps.
9cd2f790c50c Add a comment noting that the dependency information is stored in
Fred Drake <fdrake@acm.org>
parents: 13271
diff changeset
56
16128
d0864902c8c7 Change the main targets to generate HTML instead of PostScript.
Fred Drake <fdrake@acm.org>
parents: 15269
diff changeset
57 # Customization -- you *may* have to edit this
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
58
16128
d0864902c8c7 Change the main targets to generate HTML instead of PostScript.
Fred Drake <fdrake@acm.org>
parents: 15269
diff changeset
59 # You could set this to a4:
8266
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
60 PAPER=letter
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
61
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
62 # Ideally, you shouldn't need to edit beyond this point
2582
3770e4347803 use macros more; added some more docs
Guido van Rossum <guido@python.org>
parents: 2574
diff changeset
63
8283
3818a19f747f Fix a comment.
Fred Drake <fdrake@acm.org>
parents: 8274
diff changeset
64 INFODIR= info
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
65 TOOLSDIR= tools
910
a4f2b2210b02 > * Makefile: always create .ps files; add qua to 'all' target;
Guido van Rossum <guido@python.org>
parents: 903
diff changeset
66
11124
7c239711221a Added comment clarifying that RELEASE is the documentation release
Fred Drake <fdrake@acm.org>
parents: 11104
diff changeset
67 # This is the *documentation* release, and is used to construct the file
7c239711221a Added comment clarifying that RELEASE is the documentation release
Fred Drake <fdrake@acm.org>
parents: 11104
diff changeset
68 # names of the downloadable tarballs.
21408
31a249a340f8 Bump version numbers for the trunk.
Fred Drake <fdrake@acm.org>
parents: 21366
diff changeset
69 RELEASE=2.2c1+
11124
7c239711221a Added comment clarifying that RELEASE is the documentation release
Fred Drake <fdrake@acm.org>
parents: 11104
diff changeset
70
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
71 PYTHON= python
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
72 DVIPS= dvips -N0 -t $(PAPER)
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
73
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
74 MKDVI= $(PYTHON) ../tools/mkhowto --paper=$(PAPER) --dvi
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
75 MKHTML= $(PYTHON) tools/mkhowto --html --about html/stdabout.dat \
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
76 --address $(PYTHONDOCS) --up-link ../index.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
77 --up-title "Python Documentation Index" \
20774
1043e10be780 Always use --dvips-safe when generating HTML for the standard documentation
Fred Drake <fdrake@acm.org>
parents: 20741
diff changeset
78 --global-module-index "../modindex.html" --dvips-safe
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
79 MKISILOHTML=$(PYTHON) tools/mkhowto --html --about html/stdabout.dat \
20774
1043e10be780 Always use --dvips-safe when generating HTML for the standard documentation
Fred Drake <fdrake@acm.org>
parents: 20741
diff changeset
80 --l2h-init perl/isilo.perl --numeric --split 1 \
1043e10be780 Always use --dvips-safe when generating HTML for the standard documentation
Fred Drake <fdrake@acm.org>
parents: 20741
diff changeset
81 --dvips-safe
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
82 MKISILO= iSilo386 -U -y -rCR -d0
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
83 MKPDF= $(PYTHON) ../tools/mkhowto --paper=$(PAPER) --pdf
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
84 MKPS= $(PYTHON) ../tools/mkhowto --paper=$(PAPER) --ps
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
85
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
86 BUILDINDEX=$(TOOLSDIR)/buildindex.py
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
87
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
88 PYTHONDOCS="See <i><a href=\"about.html\">About this document...</a></i> for information on suggesting changes."
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
89 HTMLBASE= file:`pwd`
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
90
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
91 # what's what
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
92 MANDVIFILES= paper-$(PAPER)/api.dvi paper-$(PAPER)/ext.dvi \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
93 paper-$(PAPER)/lib.dvi paper-$(PAPER)/mac.dvi \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
94 paper-$(PAPER)/ref.dvi paper-$(PAPER)/tut.dvi
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
95 HOWTODVIFILES= paper-$(PAPER)/doc.dvi paper-$(PAPER)/inst.dvi \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
96 paper-$(PAPER)/dist.dvi
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
97
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
98 MANPDFFILES= paper-$(PAPER)/api.pdf paper-$(PAPER)/ext.pdf \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
99 paper-$(PAPER)/lib.pdf paper-$(PAPER)/mac.pdf \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
100 paper-$(PAPER)/ref.pdf paper-$(PAPER)/tut.pdf
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
101 HOWTOPDFFILES= paper-$(PAPER)/doc.pdf paper-$(PAPER)/inst.pdf \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
102 paper-$(PAPER)/dist.pdf
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
103
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
104 MANPSFILES= paper-$(PAPER)/api.ps paper-$(PAPER)/ext.ps \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
105 paper-$(PAPER)/lib.ps paper-$(PAPER)/mac.ps \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
106 paper-$(PAPER)/ref.ps paper-$(PAPER)/tut.ps
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
107 HOWTOPSFILES= paper-$(PAPER)/doc.ps paper-$(PAPER)/inst.ps \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
108 paper-$(PAPER)/dist.ps
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
109
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
110 DVIFILES= $(MANDVIFILES) $(HOWTODVIFILES)
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
111 PDFFILES= $(MANPDFFILES) $(HOWTOPDFFILES)
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
112 PSFILES= $(MANPSFILES) $(HOWTOPSFILES)
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
113
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
114 HTMLCSSFILES=html/api/api.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
115 html/doc/doc.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
116 html/ext/ext.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
117 html/lib/lib.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
118 html/mac/mac.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
119 html/ref/ref.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
120 html/tut/tut.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
121 html/inst/inst.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
122 html/dist/dist.css
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
123
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
124 ISILOCSSFILES=isilo/api/api.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
125 isilo/doc/doc.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
126 isilo/ext/ext.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
127 isilo/lib/lib.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
128 isilo/mac/mac.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
129 isilo/ref/ref.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
130 isilo/tut/tut.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
131 isilo/inst/inst.css \
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
132 isilo/dist/dist.css
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
133
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
134 ALLCSSFILES=$(HTMLCSSFILES) $(ISILOCSSFILES)
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
135
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
136 INDEXFILES=html/api/api.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
137 html/doc/doc.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
138 html/ext/ext.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
139 html/lib/lib.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
140 html/mac/mac.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
141 html/ref/ref.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
142 html/tut/tut.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
143 html/inst/inst.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
144 html/dist/dist.html
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
145
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
146 ALLHTMLFILES=$(INDEXFILES) html/index.html html/modindex.html html/acks.html
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
147
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
148 COMMONPERL= perl/manual.perl perl/python.perl perl/l2hinit.perl
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
149
20741
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
150 ANNOAPI=api/refcounts.dat tools/anno-api.py
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
151
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
152 include Makefile.deps
7070
75a1aec6d9b2 Added targets:
Fred Drake <fdrake@acm.org>
parents: 7022
diff changeset
153
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
154 # These must be declared phony since there
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
155 # are directories with matching names:
12523
019eaef637ff Added 'inst' and 'dist' -- the two Distutils manuals.
Greg Ward <gward@python.net>
parents: 12291
diff changeset
156 .PHONY: api doc ext lib mac ref tut inst dist
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
157 .PHONY: html info isilo
8731
75137cfed954 Reflect file renamings for the Python Library Reference.
Fred Drake <fdrake@acm.org>
parents: 8717
diff changeset
158
8243
74edd5cda9fd More changes to support the new directory structure.
Fred Drake <fdrake@acm.org>
parents: 8230
diff changeset
159
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
160 # Main target
16128
d0864902c8c7 Change the main targets to generate HTML instead of PostScript.
Fred Drake <fdrake@acm.org>
parents: 15269
diff changeset
161 all: html
3997
8069790b3974 Separate .dvi and .ps targets.
Guido van Rossum <guido@python.org>
parents: 3199
diff changeset
162
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
163 dvi: $(DVIFILES)
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
164 pdf: $(PDFFILES)
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
165 ps: $(PSFILES)
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
166
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
167 world: ps pdf html distfiles
8266
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
168
7589
bd0886e78f3b Revised Makefile to handle the new directories correctly.
Fred Drake <fdrake@acm.org>
parents: 7560
diff changeset
169
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
170 # Rules to build PostScript and PDF formats
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
171 .SUFFIXES: .dvi .ps
8266
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
172
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
173 .dvi.ps:
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
174 $(DVIPS) -o $@ $<
8293
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
175
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
176
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
177 # Targets for each document:
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
178 # Python/C API Reference Manual
20741
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
179 paper-$(PAPER)/api.dvi: $(ANNOAPIFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
180 cd paper-$(PAPER) && $(MKDVI) api.tex
8293
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
181
20741
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
182 paper-$(PAPER)/api.pdf: $(ANNOAPIFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
183 cd paper-$(PAPER) && $(MKPDF) api.tex
8731
75137cfed954 Reflect file renamings for the Python Library Reference.
Fred Drake <fdrake@acm.org>
parents: 8717
diff changeset
184
20741
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
185 paper-$(PAPER)/api.tex: api/api.tex $(ANNOAPI)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
186 $(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/api.tex
700
14119b1948fb Much simpler version, intended as a script.
Guido van Rossum <guido@python.org>
parents: 447
diff changeset
187
20741
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
188 paper-$(PAPER)/abstract.tex: api/abstract.tex $(ANNOAPI)
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
189 $(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/abstract.tex
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
190
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
191 paper-$(PAPER)/concrete.tex: api/concrete.tex $(ANNOAPI)
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
192 $(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/concrete.tex
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
193
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
194 paper-$(PAPER)/exceptions.tex: api/exceptions.tex $(ANNOAPI)
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
195 $(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/exceptions.tex
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
196
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
197 paper-$(PAPER)/init.tex: api/init.tex $(ANNOAPI)
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
198 $(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/init.tex
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
199
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
200 paper-$(PAPER)/intro.tex: api/intro.tex $(ANNOAPI)
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
201 $(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/intro.tex
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
202
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
203 paper-$(PAPER)/memory.tex: api/memory.tex $(ANNOAPI)
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
204 $(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/memory.tex
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
205
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
206 paper-$(PAPER)/newtypes.tex: api/newtypes.tex $(ANNOAPI)
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
207 $(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/newtypes.tex
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
208
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
209 paper-$(PAPER)/refcounting.tex: api/refcounting.tex $(ANNOAPI)
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
210 $(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/refcounting.tex
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
211
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
212 paper-$(PAPER)/utilities.tex: api/utilities.tex $(ANNOAPI)
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
213 $(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/utilities.tex
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
214
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
215 paper-$(PAPER)/veryhigh.tex: api/veryhigh.tex $(ANNOAPI)
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
216 $(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/veryhigh.tex
3e4625818f5f Make sure we generate versions of each file in the Python/C API manual with
Fred Drake <fdrake@acm.org>
parents: 20662
diff changeset
217
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
218 # Distributing Python Modules
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
219 paper-$(PAPER)/dist.dvi: $(DISTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
220 cd paper-$(PAPER) && $(MKDVI) ../dist/dist.tex
8731
75137cfed954 Reflect file renamings for the Python Library Reference.
Fred Drake <fdrake@acm.org>
parents: 8717
diff changeset
221
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
222 paper-$(PAPER)/dist.pdf: $(DISTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
223 cd paper-$(PAPER) && $(MKPDF) ../dist/dist.tex
8731
75137cfed954 Reflect file renamings for the Python Library Reference.
Fred Drake <fdrake@acm.org>
parents: 8717
diff changeset
224
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
225 # Documenting Python
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
226 paper-$(PAPER)/doc.dvi: $(DOCFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
227 cd paper-$(PAPER) && $(MKDVI) ../doc/doc.tex
3997
8069790b3974 Separate .dvi and .ps targets.
Guido van Rossum <guido@python.org>
parents: 3199
diff changeset
228
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
229 paper-$(PAPER)/doc.pdf: $(DOCFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
230 cd paper-$(PAPER) && $(MKPDF) ../doc/doc.tex
10407
ccef5c0e8ddc Add support for "Documenting Python".
Fred Drake <fdrake@acm.org>
parents: 10195
diff changeset
231
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
232 # Extending and Embedding the Python Interpreter
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
233 paper-$(PAPER)/ext.dvi: $(EXTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
234 cd paper-$(PAPER) && $(MKDVI) ../ext/ext.tex
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
235
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
236 paper-$(PAPER)/ext.pdf: $(EXTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
237 cd paper-$(PAPER) && $(MKPDF) ../ext/ext.tex
8230
85a8ae6de278 First cut at welcoming the Python Reference Manual back to the fold.
Fred Drake <fdrake@acm.org>
parents: 8195
diff changeset
238
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
239 # Installing Python Modules
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
240 paper-$(PAPER)/inst.dvi: $(INSTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
241 cd paper-$(PAPER) && $(MKDVI) ../inst/inst.tex
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
242
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
243 paper-$(PAPER)/inst.pdf: $(INSTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
244 cd paper-$(PAPER) && $(MKPDF) ../inst/inst.tex
1767
907605320a5f Lots of small corrections by Andrew Kuchling (plus all new rotor docs)
Guido van Rossum <guido@python.org>
parents: 1751
diff changeset
245
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
246 # Python Library Reference
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
247 paper-$(PAPER)/lib.dvi: $(LIBFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
248 cd paper-$(PAPER) && $(MKDVI) ../lib/lib.tex
12523
019eaef637ff Added 'inst' and 'dist' -- the two Distutils manuals.
Greg Ward <gward@python.net>
parents: 12291
diff changeset
249
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
250 paper-$(PAPER)/lib.pdf: $(LIBFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
251 cd paper-$(PAPER) && $(MKPDF) ../lib/lib.tex
10407
ccef5c0e8ddc Add support for "Documenting Python".
Fred Drake <fdrake@acm.org>
parents: 10195
diff changeset
252
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
253 # Macintosh Library Modules
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
254 paper-$(PAPER)/mac.dvi: $(MACFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
255 cd paper-$(PAPER) && $(MKDVI) ../mac/mac.tex
8266
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
256
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
257 paper-$(PAPER)/mac.pdf: $(MACFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
258 cd paper-$(PAPER) && $(MKPDF) ../mac/mac.tex
8266
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
259
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
260 # Python Reference Manual
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
261 paper-$(PAPER)/ref.dvi: $(REFFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
262 cd paper-$(PAPER) && $(MKDVI) ../ref/ref.tex
8350
52c33952460a Add support for the Macintosh Library Modules document.
Fred Drake <fdrake@acm.org>
parents: 8310
diff changeset
263
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
264 paper-$(PAPER)/ref.pdf: $(REFFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
265 cd paper-$(PAPER) && $(MKPDF) ../ref/ref.tex
8266
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
266
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
267 # Python Tutorial
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
268 paper-$(PAPER)/tut.dvi: $(TUTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
269 cd paper-$(PAPER) && $(MKDVI) ../tut/tut.tex
12523
019eaef637ff Added 'inst' and 'dist' -- the two Distutils manuals.
Greg Ward <gward@python.net>
parents: 12291
diff changeset
270
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
271 paper-$(PAPER)/tut.pdf: $(TUTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
272 cd paper-$(PAPER) && $(MKPDF) ../tut/tut.tex
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
273
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
274 # The remaining part of the Makefile is concerned with various
2582
3770e4347803 use macros more; added some more docs
Guido van Rossum <guido@python.org>
parents: 2574
diff changeset
275 # conversions, as described above. See also the README file.
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
276
8283
3818a19f747f Fix a comment.
Fred Drake <fdrake@acm.org>
parents: 8274
diff changeset
277 info:
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
278 cd $(INFODIR) && $(MAKE)
7452
23cc342ee150 Changed way *.ind are forced to exist; the files are now reset to contain
Fred Drake <fdrake@acm.org>
parents: 7421
diff changeset
279
2582
3770e4347803 use macros more; added some more docs
Guido van Rossum <guido@python.org>
parents: 2574
diff changeset
280 # Targets to convert the manuals to HTML using Nikos Drakos' LaTeX to
3770e4347803 use macros more; added some more docs
Guido van Rossum <guido@python.org>
parents: 2574
diff changeset
281 # HTML converter. For more info on this program, see
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
282 # <URL:http://cbl.leeds.ac.uk/nikos/tex2html/doc/latex2html/latex2html.html>.
1751
ec25aad43724 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1426
diff changeset
283
6970
e5aff41036f3 Added Greg Stein's docs for BaseHTTPServer.py.
Guido van Rossum <guido@python.org>
parents: 6957
diff changeset
284 # Note that LaTeX2HTML inserts references to an icons directory in
e5aff41036f3 Added Greg Stein's docs for BaseHTTPServer.py.
Guido van Rossum <guido@python.org>
parents: 6957
diff changeset
285 # each page that it generates. I have placed a copy of this directory
e5aff41036f3 Added Greg Stein's docs for BaseHTTPServer.py.
Guido van Rossum <guido@python.org>
parents: 6957
diff changeset
286 # in the distribution to simplify the process of creating a
e5aff41036f3 Added Greg Stein's docs for BaseHTTPServer.py.
Guido van Rossum <guido@python.org>
parents: 6957
diff changeset
287 # self-contained HTML distribution; for this purpose I have also added
e5aff41036f3 Added Greg Stein's docs for BaseHTTPServer.py.
Guido van Rossum <guido@python.org>
parents: 6957
diff changeset
288 # a (trivial) index.html. Change the definition of $ICONSERVER in
8195
820d510d1dd6 Move a bit closer to HTML generation without depending on the temp files
Fred Drake <fdrake@acm.org>
parents: 8146
diff changeset
289 # perl/l2hinit.perl to use a different location for the icons directory.
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
290
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
291 # If you have the standard LaTeX2HTML icons installed, the versions shipped
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
292 # with this documentation should be stored in a separate directory and used
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
293 # instead. The standard set does *not* include all the icons used in the
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
294 # Python documentation.
8243
74edd5cda9fd More changes to support the new directory structure.
Fred Drake <fdrake@acm.org>
parents: 8230
diff changeset
295
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
296 $(ALLCSSFILES): html/style.css
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
297 cp $< $@
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
298
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
299 $(INDEXFILES): $(COMMONPERL) html/about.dat tools/node2label.pl
1751
ec25aad43724 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1426
diff changeset
300
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
301 html/acks.html: ACKS $(TOOLSDIR)/support.py $(TOOLSDIR)/mkackshtml
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
302 $(PYTHON) $(TOOLSDIR)/mkackshtml --address $(PYTHONDOCS) \
16744
35f57c7170bd The ACKS file is in the current directory when converted to HTML; this was
Fred Drake <fdrake@acm.org>
parents: 16692
diff changeset
303 --output html/acks.html <ACKS
1236
680406c41539 * Changed preface in texipre.dat.
Guido van Rossum <guido@python.org>
parents: 1195
diff changeset
304
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
305
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
306 # html/index.html is dependent on $(INDEXFILES) since we want the date
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
307 # on the front index to be updated whenever any of the child documents
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
308 # are updated and boilerplate.tex uses \today as the date. The index
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
309 # files are not used to actually generate content.
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
310
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
311 BOILERPLATE=texinputs/boilerplate.tex
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
312 html/index.html: $(INDEXFILES)
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
313 html/index.html: html/index.html.in $(BOILERPLATE) tools/rewrite.py
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
314 $(PYTHON) tools/rewrite.py $(BOILERPLATE) RELEASE=$(RELEASE) \
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
315 <$< >$@
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
316
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
317 html/modindex.html: $(TOOLSDIR)/support.py $(TOOLSDIR)/mkmodindex
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
318 html/modindex.html: html/lib/lib.html html/mac/mac.html
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
319 cd html && \
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
320 $(PYTHON) ../$(TOOLSDIR)/mkmodindex --columns 4 \
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
321 --output modindex.html --address $(PYTHONDOCS) \
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
322 lib/modindex.html mac/modindex.html
10426
c176968bc91c Added htmldoc, to generate the HTML for "Documenting Python".
Fred Drake <fdrake@acm.org>
parents: 10411
diff changeset
323
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
324 html: $(ALLHTMLFILES) $(HTMLCSSFILES)
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
325
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
326 api: html/api/api.html html/api/api.css
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
327 html/api/api.html: $(APIFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
328 $(MKHTML) --dir html/api api/api.tex
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
329
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
330 doc: html/doc/doc.html html/doc/doc.css
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
331 html/doc/doc.html: $(DOCFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
332 $(MKHTML) --dir html/doc doc/doc.tex
8230
85a8ae6de278 First cut at welcoming the Python Reference Manual back to the fold.
Fred Drake <fdrake@acm.org>
parents: 8195
diff changeset
333
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
334 ext: html/ext/ext.html html/ext/ext.css
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
335 html/ext/ext.html: $(EXTFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
336 $(MKHTML) --dir html/ext ext/ext.tex
8350
52c33952460a Add support for the Macintosh Library Modules document.
Fred Drake <fdrake@acm.org>
parents: 8310
diff changeset
337
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
338 lib: html/lib/lib.html html/lib/lib.css
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
339 html/lib/lib.html: $(LIBFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
340 $(MKHTML) --dir html/lib lib/lib.tex
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
341
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
342 mac: html/mac/mac.html html/mac/mac.css
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
343 html/mac/mac.html: $(MACFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
344 $(MKHTML) --dir html/mac mac/mac.tex
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
345
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
346 ref: html/ref/ref.html html/ref/ref.css
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
347 html/ref/ref.html: $(REFFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
348 $(MKHTML) --dir html/ref ref/ref.tex
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
349
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
350 tut: html/tut/tut.html html/tut/tut.css
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
351 html/tut/tut.html: $(TUTFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
352 $(MKHTML) --dir html/tut --numeric --split 3 tut/tut.tex
12523
019eaef637ff Added 'inst' and 'dist' -- the two Distutils manuals.
Greg Ward <gward@python.net>
parents: 12291
diff changeset
353
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
354 inst: html/inst/inst.html html/inst/inst.css
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
355 html/inst/inst.html: $(INSTFILES) perl/distutils.perl
16907
f1d45d6c12a2 Use larger chunks for the HTML version of the Distutils documentation.
Fred Drake <fdrake@acm.org>
parents: 16890
diff changeset
356 $(MKHTML) --dir html/inst --split 4 inst/inst.tex
12523
019eaef637ff Added 'inst' and 'dist' -- the two Distutils manuals.
Greg Ward <gward@python.net>
parents: 12291
diff changeset
357
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
358 dist: html/dist/dist.html html/dist/dist.css
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
359 html/dist/dist.html: $(DISTFILES) perl/distutils.perl
16907
f1d45d6c12a2 Use larger chunks for the HTML version of the Distutils documentation.
Fred Drake <fdrake@acm.org>
parents: 16890
diff changeset
360 $(MKHTML) --dir html/dist --split 4 dist/dist.tex
12291
b7f2b225d0c0 Added support for the "Long HTML" version to the build/packaging
Fred Drake <fdrake@acm.org>
parents: 12276
diff changeset
361
5536
c6f04e965508 Made a start with api.tex, the Python-C API Reference Manual.
Guido van Rossum <guido@python.org>
parents: 5391
diff changeset
362
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
363 # The iSilo format is used by the iSilo document reader for PalmOS devices.
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
364
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
365 ISILOINDEXFILES=isilo/api/api.html \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
366 isilo/doc/doc.html \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
367 isilo/ext/ext.html \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
368 isilo/lib/lib.html \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
369 isilo/mac/mac.html \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
370 isilo/ref/ref.html \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
371 isilo/tut/tut.html \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
372 isilo/inst/inst.html \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
373 isilo/dist/dist.html
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
374
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
375 $(ISILOINDEXFILES): $(COMMONPERL) html/about.dat perl/isilo.perl
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
376
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
377 isilo: isilo/python-api-$(RELEASE).pdb \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
378 isilo/python-doc-$(RELEASE).pdb \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
379 isilo/python-ext-$(RELEASE).pdb \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
380 isilo/python-lib-$(RELEASE).pdb \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
381 isilo/python-mac-$(RELEASE).pdb \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
382 isilo/python-ref-$(RELEASE).pdb \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
383 isilo/python-tut-$(RELEASE).pdb \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
384 isilo/python-dist-$(RELEASE).pdb \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
385 isilo/python-inst-$(RELEASE).pdb
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
386
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
387 isilo/python-api-$(RELEASE).pdb: isilo/api/api.html isilo/api/api.css
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
388 $(MKISILO) "-iPython/C API Reference Manual" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
389 isilo/api/api.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
390
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
391 isilo/python-doc-$(RELEASE).pdb: isilo/doc/doc.html isilo/doc/doc.css
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
392 $(MKISILO) "-iDocumenting Python" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
393 isilo/doc/doc.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
394
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
395 isilo/python-ext-$(RELEASE).pdb: isilo/ext/ext.html isilo/ext/ext.css
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
396 $(MKISILO) "-iExtending & Embedding Python" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
397 isilo/ext/ext.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
398
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
399 isilo/python-lib-$(RELEASE).pdb: isilo/lib/lib.html isilo/lib/lib.css
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
400 $(MKISILO) "-iPython Library Reference" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
401 isilo/lib/lib.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
402
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
403 isilo/python-mac-$(RELEASE).pdb: isilo/mac/mac.html isilo/mac/mac.css
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
404 $(MKISILO) "-iPython/C API Reference Manual" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
405 isilo/mac/mac.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
406
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
407 isilo/python-ref-$(RELEASE).pdb: isilo/ref/ref.html isilo/ref/ref.css
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
408 $(MKISILO) "-iPython Reference Manual" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
409 isilo/ref/ref.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
410
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
411 isilo/python-tut-$(RELEASE).pdb: isilo/tut/tut.html isilo/tut/tut.css
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
412 $(MKISILO) "-iPython Tutorial" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
413 isilo/tut/tut.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
414
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
415 isilo/python-dist-$(RELEASE).pdb: isilo/dist/dist.html isilo/dist/dist.css
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
416 $(MKISILO) "-iDistributing Python Modules" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
417 isilo/dist/dist.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
418
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
419 isilo/python-inst-$(RELEASE).pdb: isilo/inst/inst.html isilo/inst/inst.css
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
420 $(MKISILO) "-iInstalling Python Modules" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
421 isilo/inst/inst.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
422
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
423 isilo/api/api.html: $(APIFILES)
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
424 $(MKISILOHTML) --dir isilo/api api/api.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
425
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
426 isilo/doc/doc.html: $(DOCFILES)
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
427 $(MKISILOHTML) --dir isilo/doc doc/doc.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
428
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
429 isilo/ext/ext.html: $(EXTFILES)
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
430 $(MKISILOHTML) --dir isilo/ext ext/ext.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
431
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
432 isilo/lib/lib.html: $(LIBFILES)
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
433 $(MKISILOHTML) --dir isilo/lib lib/lib.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
434
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
435 isilo/mac/mac.html: $(MACFILES)
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
436 $(MKISILOHTML) --dir isilo/mac mac/mac.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
437
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
438 isilo/ref/ref.html: $(REFFILES)
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
439 $(MKISILOHTML) --dir isilo/ref ref/ref.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
440
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
441 isilo/tut/tut.html: $(TUTFILES)
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
442 $(MKISILOHTML) --dir isilo/tut tut/tut.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
443
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
444 isilo/inst/inst.html: $(INSTFILES) perl/distutils.perl
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
445 $(MKISILOHTML) --dir isilo/inst inst/inst.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
446
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
447 isilo/dist/dist.html: $(DISTFILES) perl/distutils.perl
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
448 $(MKISILOHTML) --dir isilo/dist dist/dist.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
449
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
450 # These are useful if you need to transport the iSilo-ready HTML to
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
451 # another machine to perform the conversion:
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
452
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
453 isilozip: isilo-html-$(RELEASE).zip
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
454
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
455 isilo-html-$(RELEASE).zip: $(ISILOINDEXFILES)
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
456 rm -f $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
457 cd isilo && \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
458 zip -q -9 ../$@ */*.css */*.html */*.txt
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
459
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
460
7589
bd0886e78f3b Revised Makefile to handle the new directories correctly.
Fred Drake <fdrake@acm.org>
parents: 7560
diff changeset
461 # webchecker needs an extra flag to process the huge index from the libref
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
462 WEBCHECKER=$(PYTHON) ../Tools/webchecker/webchecker.py
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
463 HTMLBASE= file:`pwd`/html
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
464
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
465 webcheck: $(ALLHTMLFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
466 $(WEBCHECKER) $(HTMLBASE)/api/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
467 $(WEBCHECKER) $(HTMLBASE)/doc/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
468 $(WEBCHECKER) $(HTMLBASE)/ext/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
469 $(WEBCHECKER) -m290000 $(HTMLBASE)/lib/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
470 $(WEBCHECKER) $(HTMLBASE)/mac/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
471 $(WEBCHECKER) $(HTMLBASE)/ref/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
472 $(WEBCHECKER) $(HTMLBASE)/tut/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
473 $(WEBCHECKER) $(HTMLBASE)/dist/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
474 $(WEBCHECKER) $(HTMLBASE)/inst/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
475
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
476 fastwebcheck: $(ALLHTMLFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
477 $(WEBCHECKER) -x $(HTMLBASE)/api/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
478 $(WEBCHECKER) -x $(HTMLBASE)/doc/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
479 $(WEBCHECKER) -x $(HTMLBASE)/ext/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
480 $(WEBCHECKER) -x -m290000 $(HTMLBASE)/lib/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
481 $(WEBCHECKER) -x $(HTMLBASE)/mac/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
482 $(WEBCHECKER) -x $(HTMLBASE)/ref/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
483 $(WEBCHECKER) -x $(HTMLBASE)/tut/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
484 $(WEBCHECKER) -x $(HTMLBASE)/dist/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
485 $(WEBCHECKER) -x $(HTMLBASE)/inst/
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
486
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
487
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
488 # Release packaging targets:
7589
bd0886e78f3b Revised Makefile to handle the new directories correctly.
Fred Drake <fdrake@acm.org>
parents: 7560
diff changeset
489
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
490 paper-$(PAPER)/README: $(PSFILES) $(TOOLSDIR)/getpagecounts
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
491 cd paper-$(PAPER) && ../$(TOOLSDIR)/getpagecounts >../$@
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
492
9818
a3b2525c9370 Remove the "lib-" prefix from the name of the info archive.
Fred Drake <fdrake@acm.org>
parents: 9714
diff changeset
493 info-$(RELEASE).tgz: info
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
494 cd $(INFODIR) && tar cf - README python.dir python-*.info* \
10033
1051ef99431e Added the info tarball to the tarballs target. Added the README to
Fred Drake <fdrake@acm.org>
parents: 9976
diff changeset
495 | gzip -9 >$@
7386
f4040f3bdcc7 Revised some targets to make better use of make "special" variables, to avoid
Fred Drake <fdrake@acm.org>
parents: 7373
diff changeset
496
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
497 info-$(RELEASE).tar.bz2: info
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
498 cd $(INFODIR) && tar cf - README python.dir python-*.info* \
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
499 | bzip2 -9 >$@
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
500
8310
414247d4fed7 Switch to .tgz instead of .tar.gz to appease Windows users.
Fred Drake <fdrake@acm.org>
parents: 8297
diff changeset
501 latex-$(RELEASE).tgz:
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
502 $(PYTHON) $(TOOLSDIR)/mksourcepkg --gzip $(RELEASE)
7560
a447b268c773 latex-$(VERSION).tar.gz, tarlatex: Create the source distribution.
Fred Drake <fdrake@acm.org>
parents: 7545
diff changeset
503
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
504 latex-$(RELEASE).tar.bz2:
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
505 $(PYTHON) $(TOOLSDIR)/mksourcepkg --bzip2 $(RELEASE)
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
506
11139
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
507 latex-$(RELEASE).zip:
12237
0cd22c84a4f1 Merged in changes from 1.5.2p2 release as appropriate.
Fred Drake <fdrake@acm.org>
parents: 11167
diff changeset
508 rm -f $@
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
509 $(PYTHON) $(TOOLSDIR)/mksourcepkg --zip $(RELEASE)
11139
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
510
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
511 pdf-$(PAPER)-$(RELEASE).tar: $(PDFFILES)
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
512 cd paper-$(PAPER) && tar cf ../$@ *.pdf
7270
f55969c1c3d5 Added tarpdf target.
Fred Drake <fdrake@acm.org>
parents: 7234
diff changeset
513
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
514 pdf-$(PAPER)-$(RELEASE).tgz: pdf-$(PAPER)-$(RELEASE).tar
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
515 gzip -9 <$? >$@
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
516
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
517 pdf-$(PAPER)-$(RELEASE).tar.bz2: pdf-$(PAPER)-$(RELEASE).tar
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
518 bzip2 -9 <$? >$@
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
519
11139
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
520 pdf-$(PAPER)-$(RELEASE).zip: pdf
12237
0cd22c84a4f1 Merged in changes from 1.5.2p2 release as appropriate.
Fred Drake <fdrake@acm.org>
parents: 11167
diff changeset
521 rm -f $@
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
522 cd paper-$(PAPER) && zip -q -9 ../$@ *.pdf
11139
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
523
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
524 postscript-$(PAPER)-$(RELEASE).tar: $(PSFILES) paper-$(PAPER)/README
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
525 cd paper-$(PAPER) && tar cf ../$@ *.ps README
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
526
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
527 postscript-$(PAPER)-$(RELEASE).tar.bz2: postscript-$(PAPER)-$(RELEASE).tar
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
528 bzip2 -9 <$< >$@
7270
f55969c1c3d5 Added tarpdf target.
Fred Drake <fdrake@acm.org>
parents: 7234
diff changeset
529
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
530 postscript-$(PAPER)-$(RELEASE).tgz: postscript-$(PAPER)-$(RELEASE).tar
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
531 gzip -9 <$< >$@
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
532
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
533 postscript-$(PAPER)-$(RELEASE).zip: $(PSFILES) paper-$(PAPER)/README
12237
0cd22c84a4f1 Merged in changes from 1.5.2p2 release as appropriate.
Fred Drake <fdrake@acm.org>
parents: 11167
diff changeset
534 rm -f $@
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
535 cd paper-$(PAPER) && zip -q -9 ../$@ *.ps README
11139
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
536
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
537 html-$(RELEASE).tar: $(ALLHTMLFILES) $(HTMLCSSFILES)
20525
c948bcb0415e Bump version number.
Fred Drake <fdrake@acm.org>
parents: 20027
diff changeset
538 cd html && \
18686
54d0459c8e0f Revise the rules for building the distribution files for the HTML format.
Fred Drake <fdrake@acm.org>
parents: 18664
diff changeset
539 tar cf ../html-$(RELEASE).tar *.html */*.css */*.html \
54d0459c8e0f Revise the rules for building the distribution files for the HTML format.
Fred Drake <fdrake@acm.org>
parents: 18664
diff changeset
540 */*.gif */*.txt
7070
75a1aec6d9b2 Added targets:
Fred Drake <fdrake@acm.org>
parents: 7022
diff changeset
541
18686
54d0459c8e0f Revise the rules for building the distribution files for the HTML format.
Fred Drake <fdrake@acm.org>
parents: 18664
diff changeset
542 html-$(RELEASE).tgz: html-$(RELEASE).tar
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
543 gzip -9 <$? >$@
18686
54d0459c8e0f Revise the rules for building the distribution files for the HTML format.
Fred Drake <fdrake@acm.org>
parents: 18664
diff changeset
544
54d0459c8e0f Revise the rules for building the distribution files for the HTML format.
Fred Drake <fdrake@acm.org>
parents: 18664
diff changeset
545 html-$(RELEASE).tar.bz2: html-$(RELEASE).tar
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
546 bzip2 -9 <$? >$@
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
547
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
548 html-$(RELEASE).zip: $(ALLHTMLFILES) $(HTMLCSSFILES)
12237
0cd22c84a4f1 Merged in changes from 1.5.2p2 release as appropriate.
Fred Drake <fdrake@acm.org>
parents: 11167
diff changeset
549 rm -f $@
20525
c948bcb0415e Bump version number.
Fred Drake <fdrake@acm.org>
parents: 20027
diff changeset
550 cd html && \
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
551 zip -q -9 ../$@ *.html */*.css */*.html */*.gif */*.txt
11139
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
552
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
553 isilo-$(RELEASE).zip: isilo
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
554 cd isilo && zip -q -9 ../$@ python-*-$(RELEASE).pdb
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
555
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
556
7386
f4040f3bdcc7 Revised some targets to make better use of make "special" variables, to avoid
Fred Drake <fdrake@acm.org>
parents: 7373
diff changeset
557 # convenience targets:
f4040f3bdcc7 Revised some targets to make better use of make "special" variables, to avoid
Fred Drake <fdrake@acm.org>
parents: 7373
diff changeset
558
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
559 tarhtml: html-$(RELEASE).tgz
9818
a3b2525c9370 Remove the "lib-" prefix from the name of the info archive.
Fred Drake <fdrake@acm.org>
parents: 9714
diff changeset
560 tarinfo: info-$(RELEASE).tgz
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
561 tarps: postscript-$(PAPER)-$(RELEASE).tgz
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
562 tarpdf: pdf-$(PAPER)-$(RELEASE).tgz
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
563 tarlatex: latex-$(RELEASE).tgz
7070
75a1aec6d9b2 Added targets:
Fred Drake <fdrake@acm.org>
parents: 7022
diff changeset
564
11167
1a27dd06cce1 Use the mksourcepgk script instead of mktarball.sh.
Fred Drake <fdrake@acm.org>
parents: 11143
diff changeset
565 tarballs: tarpdf tarps tarhtml
6660
bb86bb76d61d Added utility target tarhtml to tar and gzip the HTML files plus their
Guido van Rossum <guido@python.org>
parents: 6616
diff changeset
566
11139
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
567 ziphtml: html-$(RELEASE).zip
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
568 zipps: postscript-$(PAPER)-$(RELEASE).zip
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
569 zippdf: pdf-$(PAPER)-$(RELEASE).zip
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
570 ziplatex: latex-$(RELEASE).zip
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
571 zipisilo: isilo-$(RELEASE).zip
11139
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
572
13271
89f0a664e283 Do not build the "longhtml" version for pre-release versions.
Fred Drake <fdrake@acm.org>
parents: 13222
diff changeset
573 zips: zippdf zipps ziphtml
11139
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
574
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
575 bziphtml: html-$(RELEASE).tar.bz2
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
576 bzipinfo: info-$(RELEASE).tar.bz2
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
577 bzipps: postscript-$(PAPER)-$(RELEASE).tar.bz2
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
578 bzippdf: pdf-$(PAPER)-$(RELEASE).tar.bz2
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
579 bziplatex: latex-$(RELEASE).tar.bz2
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
580
11167
1a27dd06cce1 Use the mksourcepgk script instead of mktarball.sh.
Fred Drake <fdrake@acm.org>
parents: 11143
diff changeset
581 bzips: bzippdf bzipps bziphtml
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
582
17505
11153c141999 Add convenience targets that build all archive types for single formatting
Fred Drake <fdrake@acm.org>
parents: 17433
diff changeset
583 disthtml: tarhtml bziphtml ziphtml
11153c141999 Add convenience targets that build all archive types for single formatting
Fred Drake <fdrake@acm.org>
parents: 17433
diff changeset
584 distinfo: tarinfo bzipinfo
11153c141999 Add convenience targets that build all archive types for single formatting
Fred Drake <fdrake@acm.org>
parents: 17433
diff changeset
585 distps: tarps bzipps zipps
11153c141999 Add convenience targets that build all archive types for single formatting
Fred Drake <fdrake@acm.org>
parents: 17433
diff changeset
586 distpdf: tarpdf bzippdf zippdf
11153c141999 Add convenience targets that build all archive types for single formatting
Fred Drake <fdrake@acm.org>
parents: 17433
diff changeset
587 distlatex: tarlatex bziplatex ziplatex
11153c141999 Add convenience targets that build all archive types for single formatting
Fred Drake <fdrake@acm.org>
parents: 17433
diff changeset
588
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
589 paperdist: distpdf distps
21366
f57767d76de6 Added the iSilo documentation to the standard target for distribution files
Fred Drake <fdrake@acm.org>
parents: 20999
diff changeset
590 edist: disthtml zipisilo
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
591
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
592 distfiles: paperdist edist
16254
c1cf5d2c26ca Add bzip2 archives back to the set of generated archives; we had way too
Fred Drake <fdrake@acm.org>
parents: 16128
diff changeset
593 $(TOOLSDIR)/mksourcepkg --all $(RELEASE)
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
594
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
595
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
596 # Housekeeping targets
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
597
5536
c6f04e965508 Made a start with api.tex, the Python-C API Reference Manual.
Guido van Rossum <guido@python.org>
parents: 5391
diff changeset
598 # Remove temporary files; all except the following:
7527
26a8771a4cfd Convert LaTeX support to create a new class of documents. HTML generation
Fred Drake <fdrake@acm.org>
parents: 7520
diff changeset
599 # - sources: .tex, .bib, .sty, *.cls
7270
f55969c1c3d5 Added tarpdf target.
Fred Drake <fdrake@acm.org>
parents: 7234
diff changeset
600 # - useful results: .dvi, .pdf, .ps, .texi, .info
7589
bd0886e78f3b Revised Makefile to handle the new directories correctly.
Fred Drake <fdrake@acm.org>
parents: 7560
diff changeset
601 clean:
18686
54d0459c8e0f Revise the rules for building the distribution files for the HTML format.
Fred Drake <fdrake@acm.org>
parents: 18664
diff changeset
602 rm -f html-$(RELEASE).tar
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
603 cd $(INFODIR) && $(MAKE) clean
910
a4f2b2210b02 > * Makefile: always create .ps files; add qua to 'all' target;
Guido van Rossum <guido@python.org>
parents: 903
diff changeset
604
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
605 # Remove temporaries as well as final products
9818
a3b2525c9370 Remove the "lib-" prefix from the name of the info archive.
Fred Drake <fdrake@acm.org>
parents: 9714
diff changeset
606 clobber:
18686
54d0459c8e0f Revise the rules for building the distribution files for the HTML format.
Fred Drake <fdrake@acm.org>
parents: 18664
diff changeset
607 rm -f html-$(RELEASE).tar
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
608 rm -f html-$(RELEASE).tgz info-$(RELEASE).tgz
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
609 rm -f pdf-$(RELEASE).tgz postscript-$(RELEASE).tgz
11139
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
610 rm -f latex-$(RELEASE).tgz html-$(RELEASE).zip
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
611 rm -f pdf-$(RELEASE).zip postscript-$(RELEASE).zip
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
612 rm -f $(DVIFILES) $(PSFILES) $(PDFFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
613 cd $(INFODIR) && $(MAKE) clobber
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
614 rm -rf html/index.html html/modindex.html html/acks.html
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
615 rm -rf html/api/ html/doc/ html/ext/ html/lib/ html/mac/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
616 rm -rf html/ref/ html/tut/ html/inst/ html/dist/
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
617 rm -rf isilo/api/ isilo/doc/ isilo/ext/ isilo/lib/ isilo/mac/
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
618 rm -rf isilo/ref/ isilo/tut/ isilo/inst/ isilo/dist/
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
619 rm -f isilo/python-*-$(RELEASE).pdb isilo-$(RELEASE).zip
7452
23cc342ee150 Changed way *.ind are forced to exist; the files are now reset to contain
Fred Drake <fdrake@acm.org>
parents: 7421
diff changeset
620
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
621 realclean distclean: clobber