summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-03-26 19:18:18 (GMT)
committerFred Drake <fdrake@acm.org>2002-03-26 19:18:18 (GMT)
commit9ac14decde7c5807a3c24874379ae8aac918566c (patch)
tree8b9de3a86bec062f5e64fd413a0b2519dcf1da45 /Doc/Makefile
parent03e1031d67524196a0500734580a6b717db8f0f0 (diff)
downloadcpython-9ac14decde7c5807a3c24874379ae8aac918566c.zip
cpython-9ac14decde7c5807a3c24874379ae8aac918566c.tar.gz
cpython-9ac14decde7c5807a3c24874379ae8aac918566c.tar.bz2
Wire in the "What's New" document.
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile25
1 files changed, 21 insertions, 4 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index f3f74a2..7875bcc 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -88,24 +88,26 @@ BUILDINDEX=$(TOOLSDIR)/buildindex.py
PYTHONDOCS="See <i><a href=\"about.html\">About this document...</a></i> for information on suggesting changes."
HTMLBASE= file:`pwd`
+WHATSNEW=whatsnew23
+
# 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)
@@ -141,7 +143,8 @@ INDEXFILES=html/api/api.html \
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
@@ -271,6 +274,13 @@ paper-$(PAPER)/tut.dvi: $(TUTFILES)
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.
@@ -359,6 +369,10 @@ dist: html/dist/dist.html html/dist/dist.css
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.
@@ -447,6 +461,9 @@ isilo/inst/inst.html: $(INSTFILES) perl/distutils.perl
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: