PYTHONDOCS="See <i><a href=\"about.html\">About this document...</a></i> for information on suggesting changes."
HTMLBASE= file:`pwd`
+# The end of this should reflect the major/minor version numbers of
+# the release:
+WHATSNEW=whatsnew22
+
# what's what
MANDVIFILES= paper-$(PAPER)/api.dvi paper-$(PAPER)/ext.dvi \
paper-$(PAPER)/lib.dvi paper-$(PAPER)/mac.dvi \
paper-$(PAPER)/ref.dvi paper-$(PAPER)/tut.dvi
HOWTODVIFILES= paper-$(PAPER)/doc.dvi paper-$(PAPER)/inst.dvi \
- paper-$(PAPER)/dist.dvi
+ paper-$(PAPER)/dist.dvi paper-$(PAPER)/$(WHATSNEW).dvi
MANPDFFILES= paper-$(PAPER)/api.pdf paper-$(PAPER)/ext.pdf \
paper-$(PAPER)/lib.pdf paper-$(PAPER)/mac.pdf \
paper-$(PAPER)/ref.pdf paper-$(PAPER)/tut.pdf
HOWTOPDFFILES= paper-$(PAPER)/doc.pdf paper-$(PAPER)/inst.pdf \
- paper-$(PAPER)/dist.pdf
+ paper-$(PAPER)/dist.pdf paper-$(PAPER)/$(WHATSNEW).pdf
MANPSFILES= paper-$(PAPER)/api.ps paper-$(PAPER)/ext.ps \
paper-$(PAPER)/lib.ps paper-$(PAPER)/mac.ps \
paper-$(PAPER)/ref.ps paper-$(PAPER)/tut.ps
HOWTOPSFILES= paper-$(PAPER)/doc.ps paper-$(PAPER)/inst.ps \
- paper-$(PAPER)/dist.ps
+ paper-$(PAPER)/dist.ps paper-$(PAPER)/$(WHATSNEW).ps
DVIFILES= $(MANDVIFILES) $(HOWTODVIFILES)
PDFFILES= $(MANPDFFILES) $(HOWTOPDFFILES)
html/ref/ref.html \
html/tut/tut.html \
html/inst/inst.html \
- html/dist/dist.html
+ html/dist/dist.html \
+ html/whatsnew/$(WHATSNEW).html
ALLHTMLFILES=$(INDEXFILES) html/index.html html/modindex.html html/acks.html
paper-$(PAPER)/tut.pdf: $(TUTFILES)
cd paper-$(PAPER) && $(MKPDF) ../tut/tut.tex
+# What's New in Python X.Y
+paper-$(PAPER)/$(WHATSNEW).dvi:
+ cd paper-$(PAPER) && $(MKDVI) ../whatsnew/$(WHATSNEW).tex
+
+paper-$(PAPER)/$(WHATSNEW).pdf:
+ cd paper-$(PAPER) && $(MKPDF) ../whatsnew/$(WHATSNEW).tex
+
# The remaining part of the Makefile is concerned with various
# conversions, as described above. See also the README file.
BOILERPLATE=texinputs/boilerplate.tex
html/index.html: $(INDEXFILES)
html/index.html: html/index.html.in $(BOILERPLATE) tools/rewrite.py
- $(PYTHON) tools/rewrite.py $(BOILERPLATE) RELEASE=$(RELEASE) \
+ $(PYTHON) tools/rewrite.py $(BOILERPLATE) \
+ RELEASE=$(RELEASE) WHATSNEW=$(WHATSNEW) \
<$< >$@
html/modindex.html: $(TOOLSDIR)/support.py $(TOOLSDIR)/mkmodindex
html/dist/dist.html: $(DISTFILES) perl/distutils.perl
$(MKHTML) --dir html/dist --split 4 dist/dist.tex
+whatsnew: html/whatsnew/$(WHATSNEW).html
+html/whatsnew/$(WHATSNEW).html: whatsnew/$(WHATSNEW).tex
+ $(MKHTML) --dir html/whatsnew --split 4 whatsnew/$(WHATSNEW).tex
+
# The iSilo format is used by the iSilo document reader for PalmOS devices.
isilo/ref/ref.html \
isilo/tut/tut.html \
isilo/inst/inst.html \
- isilo/dist/dist.html
+ isilo/dist/dist.html \
+ isilo/whatsnew/$(WHATSNEW).html
$(ISILOINDEXFILES): $(COMMONPERL) html/about.dat perl/isilo.perl
isilo/python-ref-$(RELEASE).pdb \
isilo/python-tut-$(RELEASE).pdb \
isilo/python-dist-$(RELEASE).pdb \
- isilo/python-inst-$(RELEASE).pdb
+ isilo/python-inst-$(RELEASE).pdb \
+ isilo/python-whatsnew-$(RELEASE).pdb
isilo/python-api-$(RELEASE).pdb: isilo/api/api.html isilo/api/api.css
$(MKISILO) "-iPython/C API Reference Manual" \
$(MKISILO) "-iInstalling Python Modules" \
isilo/inst/inst.html $@
+isilo/python-whatsnew-$(RELEASE).pdb: isilo/whatsnew/$(WHATSNEW).html isilo/whatsnew/$(WHATSNEW).css
+ $(MKISILO) "-iWhat's New in Python X.Y" \
+ isilo/whatsnew/$(WHATSNEW).html $@
+
isilo/api/api.html: $(APIFILES)
$(MKISILOHTML) --dir isilo/api api/api.tex
isilo/dist/dist.html: $(DISTFILES) perl/distutils.perl
$(MKISILOHTML) --dir isilo/dist dist/dist.tex
+isilo/whatsnew/$(WHATSNEW).html: whatsnew/$(WHATSNEW).tex
+ $(MKISILOHTML) --dir isilo/whatsnew whatsnew/$(WHATSNEW).tex
+
# These are useful if you need to transport the iSilo-ready HTML to
# another machine to perform the conversion:
$(WEBCHECKER) $(HTMLBASE)/tut/
$(WEBCHECKER) $(HTMLBASE)/dist/
$(WEBCHECKER) $(HTMLBASE)/inst/
+ $(WEBCHECKER) $(HTMLBASE)/whatsnew/
fastwebcheck: $(ALLHTMLFILES)
$(WEBCHECKER) -x $(HTMLBASE)/api/
$(WEBCHECKER) -x $(HTMLBASE)/tut/
$(WEBCHECKER) -x $(HTMLBASE)/dist/
$(WEBCHECKER) -x $(HTMLBASE)/inst/
+ $(WEBCHECKER) -x $(HTMLBASE)/whatsnew/
# Release packaging targets:
rm -rf html/index.html html/modindex.html html/acks.html
rm -rf html/api/ html/doc/ html/ext/ html/lib/ html/mac/
rm -rf html/ref/ html/tut/ html/inst/ html/dist/
+ rm -rf html/whatsnew/
rm -rf isilo/api/ isilo/doc/ isilo/ext/ isilo/lib/ isilo/mac/
rm -rf isilo/ref/ isilo/tut/ isilo/inst/ isilo/dist/
+ rm -rf isilo/whatsnew/
rm -f isilo/python-*-$(RELEASE).pdb isilo-$(RELEASE).zip
realclean distclean: clobber
<html>
<head>
<title>Python @RELEASE@ Documentation - @DATE@</title>
- <link rel="STYLESHEET" href="lib/lib.css" type="text/css">
+ <meta name="aesop" content="links">
<meta name="description"
content="Top-level index to the standard documentation for
Python @RELEASE@.">
+ <link rel="STYLESHEET" href="lib/lib.css" type="text/css">
<style type="text/css">
a.title { font-weight: bold; font-size: 110%; }
ul { margin-left: 1em; padding: 0pt; border: 0pt; }
+ ul li { margin-top: 0.2em; }
+ td.left-column { padding-right: 1em; }
+ td.right-column { padding-left: 1em; }
</style>
</head>
<body>
<table align="center">
<tbody>
- <tr><td>
+ <tr>
+ <td class="left-column">
<ul>
<li> <a href="tut/tut.html" class="title">Tutorial</a>
<br>(start here)
-
+ </ul>
+ </td>
+ <td class="right-column">
+ <ul>
+ <li> <a href="whatsnew/@WHATSNEW@.html" class="title"
+ >What's New in Python</a>
+ <br>(changes since the last major release)
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td valign="baseline" class="left-column">
+
+ <ul>
<li> <a href="modindex.html" class="title">Global Module Index</a>
<br>(for quick access to all documentation)
<li> <a href="inst/inst.html" class="title">Installing
Python Modules</a>
<br>(for administrators)
+
+ <li> <a href="dist/dist.html" class="title">Distributing
+ Python Modules</a>
+ <br>(for developers and packagers)
</ul>
</td>
- <td>
+ <td valign="baseline" class="right-column">
+
<ul>
<li> <a href="ref/ref.html" class="title">Language Reference</a>
<br>(for language lawyers)
<li> <a href="doc/doc.html" class="title">Documenting Python</a>
<br>(information for documentation authors)
-
- <li> <a href="dist/dist.html" class="title">Distributing
- Python Modules</a>
- <br>(for developers and packagers)
</ul>
</td>
- </tr>
+ </tr>
<tr>
- <td>
+ <td valign="baseline" class="left-column">
<ul>
<li> <a href="http://www.python.org/doc/" class="title"
<br>(for everyone)
</ul>
</td>
- <td>
+ <td valign="baseline" class="right-column">
<ul>
<li> <a href="http://www.python.org/doc/howto/" class="title"