@@ -88,24 +88,26 @@ BUILDINDEX=$(TOOLSDIR)/buildindex.py
8888PYTHONDOCS ="See <i><a href=\"about.html\">About this document...</a></i> for information on suggesting changes."
8989HTMLBASE = file:` pwd `
9090
91+ WHATSNEW =whatsnew23
92+
9193# what's what
9294MANDVIFILES = paper-$(PAPER ) /api.dvi paper-$(PAPER ) /ext.dvi \
9395 paper-$(PAPER ) /lib.dvi paper-$(PAPER ) /mac.dvi \
9496 paper-$(PAPER ) /ref.dvi paper-$(PAPER ) /tut.dvi
9597HOWTODVIFILES = paper-$(PAPER ) /doc.dvi paper-$(PAPER ) /inst.dvi \
96- paper-$(PAPER ) /dist.dvi
98+ paper-$(PAPER ) /dist.dvi paper- $( PAPER ) / $( WHATSNEW ) .dvi
9799
98100MANPDFFILES = paper-$(PAPER ) /api.pdf paper-$(PAPER ) /ext.pdf \
99101 paper-$(PAPER ) /lib.pdf paper-$(PAPER ) /mac.pdf \
100102 paper-$(PAPER ) /ref.pdf paper-$(PAPER ) /tut.pdf
101103HOWTOPDFFILES = paper-$(PAPER ) /doc.pdf paper-$(PAPER ) /inst.pdf \
102- paper-$(PAPER ) /dist.pdf
104+ paper-$(PAPER ) /dist.pdf paper- $( PAPER ) / $( WHATSNEW ) .pdf
103105
104106MANPSFILES = paper-$(PAPER ) /api.ps paper-$(PAPER ) /ext.ps \
105107 paper-$(PAPER ) /lib.ps paper-$(PAPER ) /mac.ps \
106108 paper-$(PAPER ) /ref.ps paper-$(PAPER ) /tut.ps
107109HOWTOPSFILES = paper-$(PAPER ) /doc.ps paper-$(PAPER ) /inst.ps \
108- paper-$(PAPER ) /dist.ps
110+ paper-$(PAPER ) /dist.ps paper- $( PAPER ) / $( WHATSNEW ) .ps
109111
110112DVIFILES = $(MANDVIFILES ) $(HOWTODVIFILES )
111113PDFFILES = $(MANPDFFILES ) $(HOWTOPDFFILES )
@@ -141,7 +143,8 @@ INDEXFILES=html/api/api.html \
141143 html/ref/ref.html \
142144 html/tut/tut.html \
143145 html/inst/inst.html \
144- html/dist/dist.html
146+ html/dist/dist.html \
147+ html/whatsnew/$(WHATSNEW ) .html
145148
146149ALLHTMLFILES =$(INDEXFILES ) html/index.html html/modindex.html html/acks.html
147150
@@ -271,6 +274,13 @@ paper-$(PAPER)/tut.dvi: $(TUTFILES)
271274paper-$(PAPER ) /tut.pdf : $(TUTFILES )
272275 cd paper-$(PAPER ) && $(MKPDF ) ../tut/tut.tex
273276
277+ # What's New in Python X.Y
278+ paper-$(PAPER ) /$(WHATSNEW ) .dvi :
279+ cd paper-$(PAPER ) && $(MKDVI ) ../whatsnew/$(WHATSNEW ) .tex
280+
281+ paper-$(PAPER ) /$(WHATSNEW ) .pdf :
282+ cd paper-$(PAPER ) && $(MKPDF ) ../whatsnew/$(WHATSNEW ) .tex
283+
274284# The remaining part of the Makefile is concerned with various
275285# conversions, as described above. See also the README file.
276286
@@ -359,6 +369,10 @@ dist: html/dist/dist.html html/dist/dist.css
359369html/dist/dist.html : $(DISTFILES ) perl/distutils.perl
360370 $(MKHTML ) --dir html/dist --split 4 dist/dist.tex
361371
372+ whatsnew : html/whatsnew/$(WHATSNEW ) .html
373+ html/whatsnew/$(WHATSNEW ) .html : whatsnew/$(WHATSNEW ) .tex
374+ $(MKHTML ) --dir html/whatsnew --split 4 whatsnew/$(WHATSNEW ) .tex
375+
362376
363377# The iSilo format is used by the iSilo document reader for PalmOS devices.
364378
@@ -447,6 +461,9 @@ isilo/inst/inst.html: $(INSTFILES) perl/distutils.perl
447461isilo/dist/dist.html : $(DISTFILES ) perl/distutils.perl
448462 $(MKISILOHTML ) --dir isilo/dist dist/dist.tex
449463
464+ isilo/whatsnew/$(WHATSNEW ) .html : whatsnew/$(WHATSNEW ) .tex
465+ $(MKISILOHTML ) --dir isilo/whatsnew whatsnew/$(WHATSNEW ) .tex
466+
450467# These are useful if you need to transport the iSilo-ready HTML to
451468# another machine to perform the conversion:
452469
0 commit comments