annotate Doc/Makefile @ 27998:e27f58a50737 legacy-trunk

SF bug #690377: Dud footnote reference in distutils docs
author Raymond Hettinger <python@rcn.com>
date Fri, 21 Feb 2003 02:47:09 +0000
parents b4eeb0bbdd48
children 66cceb7562b5
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.
27949
b4eeb0bbdd48 Bump version number.
Fred Drake <fdrake@acm.org>
parents: 26988
diff changeset
69 RELEASE=2.3a2
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 \
25962
e349fe093b34 Sprinkle with --favicon options.
Fred Drake <fdrake@acm.org>
parents: 25566
diff changeset
76 --iconserver ../icons --favicon ../icons/pyfav.gif \
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
77 --address $(PYTHONDOCS) --up-link ../index.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
78 --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
79 --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
80 MKISILOHTML=$(PYTHON) tools/mkhowto --html --about html/stdabout.dat \
25519
a3647d11cb71 Change the default path to icons so that "mkhowto" does the "right thing" by
Fred Drake <fdrake@acm.org>
parents: 24722
diff changeset
81 --iconserver ../icons \
20774
1043e10be780 Always use --dvips-safe when generating HTML for the standard documentation
Fred Drake <fdrake@acm.org>
parents: 20741
diff changeset
82 --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
83 --dvips-safe
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
84 MKISILO= iSilo386 -U -y -rCR -d0
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
85 MKPDF= $(PYTHON) ../tools/mkhowto --paper=$(PAPER) --pdf
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
86 MKPS= $(PYTHON) ../tools/mkhowto --paper=$(PAPER) --ps
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
87
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
88 BUILDINDEX=$(TOOLSDIR)/buildindex.py
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
89
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
90 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
91 HTMLBASE= file:`pwd`
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
92
23373
4af669f9c42e Integrated SF patch #539487 by Matthias Klose:
Fred Drake <fdrake@acm.org>
parents: 23102
diff changeset
93 # The emacs binary used to build the info docs. GNU Emacs 21 is required.
4af669f9c42e Integrated SF patch #539487 by Matthias Klose:
Fred Drake <fdrake@acm.org>
parents: 23102
diff changeset
94 EMACS= emacs
4af669f9c42e Integrated SF patch #539487 by Matthias Klose:
Fred Drake <fdrake@acm.org>
parents: 23102
diff changeset
95
22592
7d0f0bb9448b Wire up the makefile to more fully support the "What's New" documents.
Fred Drake <fdrake@acm.org>
parents: 22591
diff changeset
96 # The end of this should reflect the major/minor version numbers of
7d0f0bb9448b Wire up the makefile to more fully support the "What's New" documents.
Fred Drake <fdrake@acm.org>
parents: 22591
diff changeset
97 # the release:
22591
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
98 WHATSNEW=whatsnew23
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
99
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
100 # what's what
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
101 MANDVIFILES= paper-$(PAPER)/api.dvi paper-$(PAPER)/ext.dvi \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
102 paper-$(PAPER)/lib.dvi paper-$(PAPER)/mac.dvi \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
103 paper-$(PAPER)/ref.dvi paper-$(PAPER)/tut.dvi
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
104 HOWTODVIFILES= paper-$(PAPER)/doc.dvi paper-$(PAPER)/inst.dvi \
22591
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
105 paper-$(PAPER)/dist.dvi paper-$(PAPER)/$(WHATSNEW).dvi
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
106
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
107 MANPDFFILES= paper-$(PAPER)/api.pdf paper-$(PAPER)/ext.pdf \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
108 paper-$(PAPER)/lib.pdf paper-$(PAPER)/mac.pdf \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
109 paper-$(PAPER)/ref.pdf paper-$(PAPER)/tut.pdf
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
110 HOWTOPDFFILES= paper-$(PAPER)/doc.pdf paper-$(PAPER)/inst.pdf \
22591
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
111 paper-$(PAPER)/dist.pdf paper-$(PAPER)/$(WHATSNEW).pdf
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
112
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
113 MANPSFILES= paper-$(PAPER)/api.ps paper-$(PAPER)/ext.ps \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
114 paper-$(PAPER)/lib.ps paper-$(PAPER)/mac.ps \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
115 paper-$(PAPER)/ref.ps paper-$(PAPER)/tut.ps
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
116 HOWTOPSFILES= paper-$(PAPER)/doc.ps paper-$(PAPER)/inst.ps \
22591
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
117 paper-$(PAPER)/dist.ps paper-$(PAPER)/$(WHATSNEW).ps
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
118
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
119 DVIFILES= $(MANDVIFILES) $(HOWTODVIFILES)
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
120 PDFFILES= $(MANPDFFILES) $(HOWTOPDFFILES)
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
121 PSFILES= $(MANPSFILES) $(HOWTOPSFILES)
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
122
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
123 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
124 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
125 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
126 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
127 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
128 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
129 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
130 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
131 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
132
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
133 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
134 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
135 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
136 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
137 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
138 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
139 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
140 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
141 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
142
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
143 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
144
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
145 INDEXFILES=html/api/api.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
146 html/doc/doc.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
147 html/ext/ext.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
148 html/lib/lib.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
149 html/mac/mac.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
150 html/ref/ref.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
151 html/tut/tut.html \
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
152 html/inst/inst.html \
22591
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
153 html/dist/dist.html \
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
154 html/whatsnew/$(WHATSNEW).html
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
155
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
156 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
157
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
158 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
159
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
160 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
161
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
162 include Makefile.deps
7070
75a1aec6d9b2 Added targets:
Fred Drake <fdrake@acm.org>
parents: 7022
diff changeset
163
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
164 # 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
165 # are directories with matching names:
12523
019eaef637ff Added 'inst' and 'dist' -- the two Distutils manuals.
Greg Ward <gward@python.net>
parents: 12291
diff changeset
166 .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
167 .PHONY: html info isilo
8731
75137cfed954 Reflect file renamings for the Python Library Reference.
Fred Drake <fdrake@acm.org>
parents: 8717
diff changeset
168
8243
74edd5cda9fd More changes to support the new directory structure.
Fred Drake <fdrake@acm.org>
parents: 8230
diff changeset
169
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
170 # Main target
23546
88903853f180 Define the "all" target more reasonably, but retain "html" as the default
Fred Drake <fdrake@acm.org>
parents: 23528
diff changeset
171 default: html
88903853f180 Define the "all" target more reasonably, but retain "html" as the default
Fred Drake <fdrake@acm.org>
parents: 23528
diff changeset
172 all: html dvi ps pdf isilo
3997
8069790b3974 Separate .dvi and .ps targets.
Guido van Rossum <guido@python.org>
parents: 3199
diff changeset
173
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
174 dvi: $(DVIFILES)
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
175 pdf: $(PDFFILES)
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
176 ps: $(PSFILES)
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
177
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
178 world: ps pdf html distfiles
8266
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
179
7589
bd0886e78f3b Revised Makefile to handle the new directories correctly.
Fred Drake <fdrake@acm.org>
parents: 7560
diff changeset
180
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
181 # Rules to build PostScript and PDF formats
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
182 .SUFFIXES: .dvi .ps
8266
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
183
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
184 .dvi.ps:
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
185 $(DVIPS) -o $@ $<
8293
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
186
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
187
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
188 # Targets for each document:
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
189 # 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
190 paper-$(PAPER)/api.dvi: $(ANNOAPIFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
191 cd paper-$(PAPER) && $(MKDVI) api.tex
8293
f2bb8d5195b6 Update some of the comments.
Fred Drake <fdrake@acm.org>
parents: 8283
diff changeset
192
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
193 paper-$(PAPER)/api.pdf: $(ANNOAPIFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
194 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
195
25566
b19902ad185f Remove some unnecessary dependencies (minor).
Fred Drake <fdrake@acm.org>
parents: 25519
diff changeset
196 paper-$(PAPER)/api.tex: api/api.tex
b19902ad185f Remove some unnecessary dependencies (minor).
Fred Drake <fdrake@acm.org>
parents: 25519
diff changeset
197 cp api/api.tex $@
700
14119b1948fb Much simpler version, intended as a script.
Guido van Rossum <guido@python.org>
parents: 447
diff changeset
198
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
199 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
200 $(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
201
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 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
203 $(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
204
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 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
206 $(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
207
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 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
209 $(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
210
25566
b19902ad185f Remove some unnecessary dependencies (minor).
Fred Drake <fdrake@acm.org>
parents: 25519
diff changeset
211 paper-$(PAPER)/intro.tex: api/intro.tex
b19902ad185f Remove some unnecessary dependencies (minor).
Fred Drake <fdrake@acm.org>
parents: 25519
diff changeset
212 cp api/intro.tex $@
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
213
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 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
215 $(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
216
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 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
218 $(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
219
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
220 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
221 $(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
222
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
223 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
224 $(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
225
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
226 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
227 $(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
228
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
229 # Distributing Python Modules
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
230 paper-$(PAPER)/dist.dvi: $(DISTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
231 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
232
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
233 paper-$(PAPER)/dist.pdf: $(DISTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
234 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
235
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
236 # Documenting Python
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
237 paper-$(PAPER)/doc.dvi: $(DOCFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
238 cd paper-$(PAPER) && $(MKDVI) ../doc/doc.tex
3997
8069790b3974 Separate .dvi and .ps targets.
Guido van Rossum <guido@python.org>
parents: 3199
diff changeset
239
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
240 paper-$(PAPER)/doc.pdf: $(DOCFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
241 cd paper-$(PAPER) && $(MKPDF) ../doc/doc.tex
10407
ccef5c0e8ddc Add support for "Documenting Python".
Fred Drake <fdrake@acm.org>
parents: 10195
diff changeset
242
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
243 # Extending and Embedding the Python Interpreter
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
244 paper-$(PAPER)/ext.dvi: $(EXTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
245 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
246
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
247 paper-$(PAPER)/ext.pdf: $(EXTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
248 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
249
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
250 # Installing Python Modules
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
251 paper-$(PAPER)/inst.dvi: $(INSTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
252 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
253
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
254 paper-$(PAPER)/inst.pdf: $(INSTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
255 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
256
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
257 # Python Library Reference
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
258 paper-$(PAPER)/lib.dvi: $(LIBFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
259 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
260
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
261 paper-$(PAPER)/lib.pdf: $(LIBFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
262 cd paper-$(PAPER) && $(MKPDF) ../lib/lib.tex
10407
ccef5c0e8ddc Add support for "Documenting Python".
Fred Drake <fdrake@acm.org>
parents: 10195
diff changeset
263
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
264 # Macintosh Library Modules
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
265 paper-$(PAPER)/mac.dvi: $(MACFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
266 cd paper-$(PAPER) && $(MKDVI) ../mac/mac.tex
8266
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
267
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
268 paper-$(PAPER)/mac.pdf: $(MACFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
269 cd paper-$(PAPER) && $(MKPDF) ../mac/mac.tex
8266
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
270
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
271 # Python Reference Manual
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
272 paper-$(PAPER)/ref.dvi: $(REFFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
273 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
274
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
275 paper-$(PAPER)/ref.pdf: $(REFFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
276 cd paper-$(PAPER) && $(MKPDF) ../ref/ref.tex
8266
ea4b7a54fd92 Cleaned out some more cruft.
Fred Drake <fdrake@acm.org>
parents: 8258
diff changeset
277
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
278 # Python Tutorial
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
279 paper-$(PAPER)/tut.dvi: $(TUTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
280 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
281
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
282 paper-$(PAPER)/tut.pdf: $(TUTFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
283 cd paper-$(PAPER) && $(MKPDF) ../tut/tut.tex
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
284
22591
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
285 # What's New in Python X.Y
26432
c522c8c71cab Add missing dependency information for the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 25962
diff changeset
286 paper-$(PAPER)/$(WHATSNEW).dvi: whatsnew/$(WHATSNEW).tex
22591
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
287 cd paper-$(PAPER) && $(MKDVI) ../whatsnew/$(WHATSNEW).tex
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
288
26432
c522c8c71cab Add missing dependency information for the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 25962
diff changeset
289 paper-$(PAPER)/$(WHATSNEW).pdf: whatsnew/$(WHATSNEW).tex
22591
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
290 cd paper-$(PAPER) && $(MKPDF) ../whatsnew/$(WHATSNEW).tex
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
291
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
292 # 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
293 # 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
294
8283
3818a19f747f Fix a comment.
Fred Drake <fdrake@acm.org>
parents: 8274
diff changeset
295 info:
23373
4af669f9c42e Integrated SF patch #539487 by Matthias Klose:
Fred Drake <fdrake@acm.org>
parents: 23102
diff changeset
296 cd $(INFODIR) && $(MAKE) EMACS=$(EMACS)
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
297
2582
3770e4347803 use macros more; added some more docs
Guido van Rossum <guido@python.org>
parents: 2574
diff changeset
298 # 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
299 # 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
300 # <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
301
6970
e5aff41036f3 Added Greg Stein's docs for BaseHTTPServer.py.
Guido van Rossum <guido@python.org>
parents: 6957
diff changeset
302 # 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
303 # 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
304 # 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
305 # 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
306 # 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
307 # 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
308
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
309 # 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
310 # 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
311 # 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
312 # Python documentation.
8243
74edd5cda9fd More changes to support the new directory structure.
Fred Drake <fdrake@acm.org>
parents: 8230
diff changeset
313
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
314 $(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
315 cp $< $@
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
316
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
317 $(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
318
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
319 html/acks.html: ACKS $(TOOLSDIR)/support.py $(TOOLSDIR)/mkackshtml
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
320 $(PYTHON) $(TOOLSDIR)/mkackshtml --address $(PYTHONDOCS) \
25962
e349fe093b34 Sprinkle with --favicon options.
Fred Drake <fdrake@acm.org>
parents: 25566
diff changeset
321 --favicon icons/pyfav.gif \
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
322 --output html/acks.html <ACKS
1236
680406c41539 * Changed preface in texipre.dat.
Guido van Rossum <guido@python.org>
parents: 1195
diff changeset
323
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
324
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
325 # 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
326 # 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
327 # 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
328 # files are not used to actually generate content.
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
329
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
330 BOILERPLATE=texinputs/boilerplate.tex
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
331 html/index.html: $(INDEXFILES)
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
332 html/index.html: html/index.html.in $(BOILERPLATE) tools/rewrite.py
22596
0a3bf22aeca4 Add the "What's New" document to the index of HTML documents.
Fred Drake <fdrake@acm.org>
parents: 22592
diff changeset
333 $(PYTHON) tools/rewrite.py $(BOILERPLATE) \
0a3bf22aeca4 Add the "What's New" document to the index of HTML documents.
Fred Drake <fdrake@acm.org>
parents: 22592
diff changeset
334 RELEASE=$(RELEASE) WHATSNEW=$(WHATSNEW) \
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
335 <$< >$@
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
336
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
337 html/modindex.html: $(TOOLSDIR)/support.py $(TOOLSDIR)/mkmodindex
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
338 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
339 cd html && \
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
340 $(PYTHON) ../$(TOOLSDIR)/mkmodindex --columns 4 \
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
341 --output modindex.html --address $(PYTHONDOCS) \
25962
e349fe093b34 Sprinkle with --favicon options.
Fred Drake <fdrake@acm.org>
parents: 25566
diff changeset
342 --favicon icons/pyfav.gif \
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
343 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
344
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
345 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
346
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
347 api: html/api/api.html html/api/api.css
23528
8a49a13fb28d Added missing dependency on the refcount data file.
Fred Drake <fdrake@acm.org>
parents: 23373
diff changeset
348 html/api/api.html: $(APIFILES) api/refcounts.dat
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
349 $(MKHTML) --dir html/api api/api.tex
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
350
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
351 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
352 html/doc/doc.html: $(DOCFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
353 $(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
354
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
355 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
356 html/ext/ext.html: $(EXTFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
357 $(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
358
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
359 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
360 html/lib/lib.html: $(LIBFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
361 $(MKHTML) --dir html/lib lib/lib.tex
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
362
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
363 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
364 html/mac/mac.html: $(MACFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
365 $(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
366
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
367 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
368 html/ref/ref.html: $(REFFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
369 $(MKHTML) --dir html/ref ref/ref.tex
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
370
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
371 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
372 html/tut/tut.html: $(TUTFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
373 $(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
374
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
375 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
376 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
377 $(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
378
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
379 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
380 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
381 $(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
382
22591
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
383 whatsnew: html/whatsnew/$(WHATSNEW).html
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
384 html/whatsnew/$(WHATSNEW).html: whatsnew/$(WHATSNEW).tex
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
385 $(MKHTML) --dir html/whatsnew --split 4 whatsnew/$(WHATSNEW).tex
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
386
5536
c6f04e965508 Made a start with api.tex, the Python-C API Reference Manual.
Guido van Rossum <guido@python.org>
parents: 5391
diff changeset
387
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
388 # 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
389
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
390 ISILOINDEXFILES=isilo/api/api.html \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
391 isilo/doc/doc.html \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
392 isilo/ext/ext.html \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
393 isilo/lib/lib.html \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
394 isilo/mac/mac.html \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
395 isilo/ref/ref.html \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
396 isilo/tut/tut.html \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
397 isilo/inst/inst.html \
22592
7d0f0bb9448b Wire up the makefile to more fully support the "What's New" documents.
Fred Drake <fdrake@acm.org>
parents: 22591
diff changeset
398 isilo/dist/dist.html \
7d0f0bb9448b Wire up the makefile to more fully support the "What's New" documents.
Fred Drake <fdrake@acm.org>
parents: 22591
diff changeset
399 isilo/whatsnew/$(WHATSNEW).html
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
400
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
401 $(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
402
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
403 isilo: isilo/python-api.pdb \
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
404 isilo/python-doc.pdb \
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
405 isilo/python-ext.pdb \
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
406 isilo/python-lib.pdb \
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
407 isilo/python-mac.pdb \
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
408 isilo/python-ref.pdb \
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
409 isilo/python-tut.pdb \
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
410 isilo/python-dist.pdb \
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
411 isilo/python-inst.pdb \
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
412 isilo/python-whatsnew.pdb
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
413
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
414 isilo/python-api.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
415 $(MKISILO) "-iPython/C API Reference Manual" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
416 isilo/api/api.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
417
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
418 isilo/python-doc.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
419 $(MKISILO) "-iDocumenting Python" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
420 isilo/doc/doc.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
421
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
422 isilo/python-ext.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
423 $(MKISILO) "-iExtending & Embedding Python" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
424 isilo/ext/ext.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
425
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
426 isilo/python-lib.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
427 $(MKISILO) "-iPython Library Reference" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
428 isilo/lib/lib.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
429
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
430 isilo/python-mac.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
431 $(MKISILO) "-iPython/C API Reference Manual" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
432 isilo/mac/mac.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
433
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
434 isilo/python-ref.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
435 $(MKISILO) "-iPython Reference Manual" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
436 isilo/ref/ref.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
437
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
438 isilo/python-tut.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
439 $(MKISILO) "-iPython Tutorial" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
440 isilo/tut/tut.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
441
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
442 isilo/python-dist.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
443 $(MKISILO) "-iDistributing Python Modules" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
444 isilo/dist/dist.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
445
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
446 isilo/python-inst.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
447 $(MKISILO) "-iInstalling Python Modules" \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
448 isilo/inst/inst.html $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
449
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
450 isilo/python-whatsnew.pdb: isilo/whatsnew/$(WHATSNEW).html isilo/whatsnew/$(WHATSNEW).css
22592
7d0f0bb9448b Wire up the makefile to more fully support the "What's New" documents.
Fred Drake <fdrake@acm.org>
parents: 22591
diff changeset
451 $(MKISILO) "-iWhat's New in Python X.Y" \
7d0f0bb9448b Wire up the makefile to more fully support the "What's New" documents.
Fred Drake <fdrake@acm.org>
parents: 22591
diff changeset
452 isilo/whatsnew/$(WHATSNEW).html $@
7d0f0bb9448b Wire up the makefile to more fully support the "What's New" documents.
Fred Drake <fdrake@acm.org>
parents: 22591
diff changeset
453
23528
8a49a13fb28d Added missing dependency on the refcount data file.
Fred Drake <fdrake@acm.org>
parents: 23373
diff changeset
454 isilo/api/api.html: $(APIFILES) api/refcounts.dat
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
455 $(MKISILOHTML) --dir isilo/api api/api.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
456
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
457 isilo/doc/doc.html: $(DOCFILES)
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
458 $(MKISILOHTML) --dir isilo/doc doc/doc.tex
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 isilo/ext/ext.html: $(EXTFILES)
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
461 $(MKISILOHTML) --dir isilo/ext ext/ext.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
462
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
463 isilo/lib/lib.html: $(LIBFILES)
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
464 $(MKISILOHTML) --dir isilo/lib lib/lib.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
465
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
466 isilo/mac/mac.html: $(MACFILES)
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
467 $(MKISILOHTML) --dir isilo/mac mac/mac.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
468
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
469 isilo/ref/ref.html: $(REFFILES)
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
470 $(MKISILOHTML) --dir isilo/ref ref/ref.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
471
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
472 isilo/tut/tut.html: $(TUTFILES)
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
473 $(MKISILOHTML) --dir isilo/tut tut/tut.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
474
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
475 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
476 $(MKISILOHTML) --dir isilo/inst inst/inst.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
477
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
478 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
479 $(MKISILOHTML) --dir isilo/dist dist/dist.tex
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
480
22591
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
481 isilo/whatsnew/$(WHATSNEW).html: whatsnew/$(WHATSNEW).tex
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
482 $(MKISILOHTML) --dir isilo/whatsnew whatsnew/$(WHATSNEW).tex
7bce4751bfb3 Wire in the "What's New" document.
Fred Drake <fdrake@acm.org>
parents: 21870
diff changeset
483
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
484 # 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
485 # another machine to perform the conversion:
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
486
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
487 isilozip: isilo-html-$(RELEASE).zip
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
488
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
489 isilo-html-$(RELEASE).zip: $(ISILOINDEXFILES)
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
490 rm -f $@
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
491 cd isilo && \
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
492 zip -q -9 ../$@ */*.css */*.html */*.txt
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
493
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
494
7589
bd0886e78f3b Revised Makefile to handle the new directories correctly.
Fred Drake <fdrake@acm.org>
parents: 7560
diff changeset
495 # 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
496 WEBCHECKER=$(PYTHON) ../Tools/webchecker/webchecker.py
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
497 HTMLBASE= file:`pwd`/html
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
498
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
499 webcheck: $(ALLHTMLFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
500 $(WEBCHECKER) $(HTMLBASE)/api/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
501 $(WEBCHECKER) $(HTMLBASE)/doc/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
502 $(WEBCHECKER) $(HTMLBASE)/ext/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
503 $(WEBCHECKER) -m290000 $(HTMLBASE)/lib/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
504 $(WEBCHECKER) $(HTMLBASE)/mac/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
505 $(WEBCHECKER) $(HTMLBASE)/ref/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
506 $(WEBCHECKER) $(HTMLBASE)/tut/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
507 $(WEBCHECKER) $(HTMLBASE)/dist/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
508 $(WEBCHECKER) $(HTMLBASE)/inst/
22592
7d0f0bb9448b Wire up the makefile to more fully support the "What's New" documents.
Fred Drake <fdrake@acm.org>
parents: 22591
diff changeset
509 $(WEBCHECKER) $(HTMLBASE)/whatsnew/
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
510
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
511 fastwebcheck: $(ALLHTMLFILES)
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
512 $(WEBCHECKER) -x $(HTMLBASE)/api/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
513 $(WEBCHECKER) -x $(HTMLBASE)/doc/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
514 $(WEBCHECKER) -x $(HTMLBASE)/ext/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
515 $(WEBCHECKER) -x -m290000 $(HTMLBASE)/lib/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
516 $(WEBCHECKER) -x $(HTMLBASE)/mac/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
517 $(WEBCHECKER) -x $(HTMLBASE)/ref/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
518 $(WEBCHECKER) -x $(HTMLBASE)/tut/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
519 $(WEBCHECKER) -x $(HTMLBASE)/dist/
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
520 $(WEBCHECKER) -x $(HTMLBASE)/inst/
22592
7d0f0bb9448b Wire up the makefile to more fully support the "What's New" documents.
Fred Drake <fdrake@acm.org>
parents: 22591
diff changeset
521 $(WEBCHECKER) -x $(HTMLBASE)/whatsnew/
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
522
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
523
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
524 # Release packaging targets:
7589
bd0886e78f3b Revised Makefile to handle the new directories correctly.
Fred Drake <fdrake@acm.org>
parents: 7560
diff changeset
525
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
526 paper-$(PAPER)/README: $(PSFILES) $(TOOLSDIR)/getpagecounts
23102
d44545c4a47a Pass the -r option to getpagecounts to generate an entry for the "What's
Fred Drake <fdrake@acm.org>
parents: 22596
diff changeset
527 cd paper-$(PAPER) && ../$(TOOLSDIR)/getpagecounts -r $(RELEASE) >../$@
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
528
9818
a3b2525c9370 Remove the "lib-" prefix from the name of the info archive.
Fred Drake <fdrake@acm.org>
parents: 9714
diff changeset
529 info-$(RELEASE).tgz: info
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
530 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
531 | 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
532
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
533 info-$(RELEASE).tar.bz2: info
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
534 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
535 | bzip2 -9 >$@
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
536
8310
414247d4fed7 Switch to .tgz instead of .tar.gz to appease Windows users.
Fred Drake <fdrake@acm.org>
parents: 8297
diff changeset
537 latex-$(RELEASE).tgz:
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
538 $(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
539
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
540 latex-$(RELEASE).tar.bz2:
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
541 $(PYTHON) $(TOOLSDIR)/mksourcepkg --bzip2 $(RELEASE)
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
542
11139
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
543 latex-$(RELEASE).zip:
12237
0cd22c84a4f1 Merged in changes from 1.5.2p2 release as appropriate.
Fred Drake <fdrake@acm.org>
parents: 11167
diff changeset
544 rm -f $@
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
545 $(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
546
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
547 pdf-$(PAPER)-$(RELEASE).tar: $(PDFFILES)
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
548 rm -f $@
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
549 mkdir Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
550 cp paper-$(PAPER)/*.pdf Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
551 tar cf $@ Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
552 rm -r Python-Docs-$(RELEASE)
7270
f55969c1c3d5 Added tarpdf target.
Fred Drake <fdrake@acm.org>
parents: 7234
diff changeset
553
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
554 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
555 gzip -9 <$? >$@
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
556
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
557 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
558 bzip2 -9 <$? >$@
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
559
11139
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
560 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
561 rm -f $@
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
562 mkdir Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
563 cp paper-$(PAPER)/*.pdf Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
564 zip -q -r -9 $@ Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
565 rm -r Python-Docs-$(RELEASE)
11139
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
566
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
567 postscript-$(PAPER)-$(RELEASE).tar: $(PSFILES) paper-$(PAPER)/README
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
568 rm -f $@
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
569 mkdir Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
570 cp paper-$(PAPER)/*.ps Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
571 cp paper-$(PAPER)/README Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
572 tar cf $@ Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
573 rm -r Python-Docs-$(RELEASE)
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
574
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
575 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
576 bzip2 -9 <$< >$@
7270
f55969c1c3d5 Added tarpdf target.
Fred Drake <fdrake@acm.org>
parents: 7234
diff changeset
577
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
578 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
579 gzip -9 <$< >$@
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
580
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
581 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
582 rm -f $@
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
583 mkdir Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
584 cp paper-$(PAPER)/*.ps Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
585 cp paper-$(PAPER)/README Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
586 zip -q -r -9 $@ Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
587 rm -r Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
588
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
589 HTMLPKGFILES=*.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
590
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
591 html-$(RELEASE).tar: $(ALLHTMLFILES) $(HTMLCSSFILES)
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
592 mkdir Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
593 cd html && tar cf ../temp.tar $(HTMLPKGFILES)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
594 cd Python-Docs-$(RELEASE) && tar xf ../temp.tar
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
595 rm temp.tar
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
596 tar cf html-$(RELEASE).tar Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
597 rm -r Python-Docs-$(RELEASE)
7070
75a1aec6d9b2 Added targets:
Fred Drake <fdrake@acm.org>
parents: 7022
diff changeset
598
18686
54d0459c8e0f Revise the rules for building the distribution files for the HTML format.
Fred Drake <fdrake@acm.org>
parents: 18664
diff changeset
599 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
600 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
601
54d0459c8e0f Revise the rules for building the distribution files for the HTML format.
Fred Drake <fdrake@acm.org>
parents: 18664
diff changeset
602 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
603 bzip2 -9 <$? >$@
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
604
20662
c478a5091f3f Update the rules so that changes to the HTML stylesheet cause appropriate
Fred Drake <fdrake@acm.org>
parents: 20578
diff changeset
605 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
606 rm -f $@
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
607 mkdir Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
608 cd html && tar cf ../temp.tar $(HTMLPKGFILES)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
609 cd Python-Docs-$(RELEASE) && tar xf ../temp.tar
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
610 rm temp.tar
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
611 zip -q -r -9 $@ Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
612 rm -r Python-Docs-$(RELEASE)
11139
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
613
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
614 isilo-$(RELEASE).zip: isilo
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
615 rm -f $@
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
616 mkdir Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
617 cp isilo/python-*.pdb Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
618 zip -q -r -9 $@ Python-Docs-$(RELEASE)
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
619 rm -r Python-Docs-$(RELEASE)
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
620
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
621
7386
f4040f3bdcc7 Revised some targets to make better use of make "special" variables, to avoid
Fred Drake <fdrake@acm.org>
parents: 7373
diff changeset
622 # 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
623
8979
26c041b145c1 Massive cleanup: Use Makefiles in subdirs properly, move most of the
Fred Drake <fdrake@acm.org>
parents: 8965
diff changeset
624 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
625 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
626 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
627 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
628 tarlatex: latex-$(RELEASE).tgz
7070
75a1aec6d9b2 Added targets:
Fred Drake <fdrake@acm.org>
parents: 7022
diff changeset
629
11167
1a27dd06cce1 Use the mksourcepgk script instead of mktarball.sh.
Fred Drake <fdrake@acm.org>
parents: 11143
diff changeset
630 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
631
11139
2c3af90f3fae Add zip archive support for html, pdf, ps, and latex archives.
Fred Drake <fdrake@acm.org>
parents: 11124
diff changeset
632 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
633 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
634 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
635 ziplatex: latex-$(RELEASE).zip
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
636 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
637
13271
89f0a664e283 Do not build the "longhtml" version for pre-release versions.
Fred Drake <fdrake@acm.org>
parents: 13222
diff changeset
638 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
639
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
640 bziphtml: html-$(RELEASE).tar.bz2
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
641 bzipinfo: info-$(RELEASE).tar.bz2
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
642 bzipps: postscript-$(PAPER)-$(RELEASE).tar.bz2
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
643 bzippdf: pdf-$(PAPER)-$(RELEASE).tar.bz2
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
644 bziplatex: latex-$(RELEASE).tar.bz2
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
645
11167
1a27dd06cce1 Use the mksourcepgk script instead of mktarball.sh.
Fred Drake <fdrake@acm.org>
parents: 11143
diff changeset
646 bzips: bzippdf bzipps bziphtml
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
647
17505
11153c141999 Add convenience targets that build all archive types for single formatting
Fred Drake <fdrake@acm.org>
parents: 17433
diff changeset
648 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
649 distinfo: tarinfo bzipinfo
11153c141999 Add convenience targets that build all archive types for single formatting
Fred Drake <fdrake@acm.org>
parents: 17433
diff changeset
650 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
651 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
652 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
653
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
654 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
655 edist: disthtml zipisilo
18708
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
656
237368644c13 Look to the future: bump the version number.
Fred Drake <fdrake@acm.org>
parents: 18686
diff changeset
657 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
658 $(TOOLSDIR)/mksourcepkg --all $(RELEASE)
11143
2b7c43d4b469 Add support for bzip2 compression.
Fred Drake <fdrake@acm.org>
parents: 11139
diff changeset
659
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
660
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
661 # Housekeeping targets
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
662
5536
c6f04e965508 Made a start with api.tex, the Python-C API Reference Manual.
Guido van Rossum <guido@python.org>
parents: 5391
diff changeset
663 # 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
664 # - sources: .tex, .bib, .sty, *.cls
7270
f55969c1c3d5 Added tarpdf target.
Fred Drake <fdrake@acm.org>
parents: 7234
diff changeset
665 # - 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
666 clean:
18686
54d0459c8e0f Revise the rules for building the distribution files for the HTML format.
Fred Drake <fdrake@acm.org>
parents: 18664
diff changeset
667 rm -f html-$(RELEASE).tar
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
668 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
669
2574
f0b7872da689 added lots of comments
Guido van Rossum <guido@python.org>
parents: 2489
diff changeset
670 # 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
671 clobber:
18686
54d0459c8e0f Revise the rules for building the distribution files for the HTML format.
Fred Drake <fdrake@acm.org>
parents: 18664
diff changeset
672 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
673 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
674 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
675 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
676 rm -f pdf-$(RELEASE).zip postscript-$(RELEASE).zip
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
677 rm -f $(DVIFILES) $(PSFILES) $(PDFFILES)
18664
f14800229677 Bump the release number.
Fred Drake <fdrake@acm.org>
parents: 18423
diff changeset
678 cd $(INFODIR) && $(MAKE) clobber
21870
042db0382cd3 Update version number to match Include/patchlevel.h.
Fred Drake <fdrake@acm.org>
parents: 21519
diff changeset
679 rm -f paper-$(PAPER)/*.tex paper-$(PAPER)/*.ind paper-$(PAPER)/*.idx
042db0382cd3 Update version number to match Include/patchlevel.h.
Fred Drake <fdrake@acm.org>
parents: 21519
diff changeset
680 rm -f paper-$(PAPER)/*.l2h paper-$(PAPER)/*.how paper-$(PAPER)/README
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
681 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
682 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
683 rm -rf html/ref/ html/tut/ html/inst/ html/dist/
22592
7d0f0bb9448b Wire up the makefile to more fully support the "What's New" documents.
Fred Drake <fdrake@acm.org>
parents: 22591
diff changeset
684 rm -rf html/whatsnew/
20578
9058bcce69e3 Additional rules to support the iSilo conversion.
Fred Drake <fdrake@acm.org>
parents: 20525
diff changeset
685 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
686 rm -rf isilo/ref/ isilo/tut/ isilo/inst/ isilo/dist/
22592
7d0f0bb9448b Wire up the makefile to more fully support the "What's New" documents.
Fred Drake <fdrake@acm.org>
parents: 22591
diff changeset
687 rm -rf isilo/whatsnew/
24722
510e73ae3e9e Lots of changes to the packaging of the documentation, all to keep
Fred Drake <fdrake@acm.org>
parents: 23546
diff changeset
688 rm -f isilo/python-*.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
689
16692
2a86d519f80e Convert to a "flat" Makefile.
Fred Drake <fdrake@acm.org>
parents: 16254
diff changeset
690 realclean distclean: clobber