summaryrefslogtreecommitdiffstats
path: root/Doc/paper-letter/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-04-14 14:04:39 (GMT)
committerFred Drake <fdrake@acm.org>1999-04-14 14:04:39 (GMT)
commit6ab98325f7675d1c2f125891da53dbcc01c5b77f (patch)
tree995a486f0d871b13e35faf73919b39c82ac6cec4 /Doc/paper-letter/Makefile
parentc260c0bcdb8ff28c528ee4ce608529483759c17c (diff)
downloadcpython-6ab98325f7675d1c2f125891da53dbcc01c5b77f.zip
cpython-6ab98325f7675d1c2f125891da53dbcc01c5b77f.tar.gz
cpython-6ab98325f7675d1c2f125891da53dbcc01c5b77f.tar.bz2
Use the tools/mkdvi.sh script to generate DVI and PDF output for the
library reference now that it's sufficiently capable.
Diffstat (limited to 'Doc/paper-letter/Makefile')
-rw-r--r--Doc/paper-letter/Makefile35
1 files changed, 11 insertions, 24 deletions
diff --git a/Doc/paper-letter/Makefile b/Doc/paper-letter/Makefile
index 88049f1..dc1bb20 100644
--- a/Doc/paper-letter/Makefile
+++ b/Doc/paper-letter/Makefile
@@ -50,8 +50,10 @@ HOWTOSTYLES= ../texinputs/howto.cls \
$(COMMONSTYLES)
-$(DVIFILES): ../tools/fix_hack ../tools/mkdvi.sh $(COMMONTEX)
-$(PDFFILES): ../tools/fix_hack ../tools/mkdvi.sh $(COMMONTEX)
+SCRIPTS: ../tools/fix_hack ../tools/mkdvi.sh ../tools/indfix.py
+
+$(DVIFILES): $(SCRIPTS) $(COMMONTEX)
+$(PDFFILES): $(SCRIPTS) $(COMMONTEX)
$(MANDVIFILES): $(MANSTYLES)
$(MANPDFFILES): $(MANSTYLES)
@@ -77,28 +79,6 @@ README: $(PSFILES)
$(TOOLSDIR)/getpagecounts >$@
-# Python Library Reference
-lib.dvi: $(TOOLSDIR)/indfix.py $(LIBFILES)
- $(TOOLSDIR)/newind.py >lib.ind
- $(TOOLSDIR)/newind.py modindex >modlib.ind
- TEXINPUTS=../lib:$(TEXINPUTS) $(LATEX) lib
- $(MAKEINDEX) modlib.idx
- $(TOOLSDIR)/fix_hack lib.idx
- $(MAKEINDEX) lib.idx
- $(TOOLSDIR)/indfix.py lib.ind
- TEXINPUTS=../lib:$(TEXINPUTS) $(LATEX) lib
-
-lib.pdf: $(TOOLSDIR)/indfix.py $(LIBFILES)
- $(TOOLSDIR)/newind.py >lib.ind
- $(TOOLSDIR)/newind.py modindex >modlib.ind
- TEXINPUTS=../lib:$(TEXINPUTS) $(PDFLATEX) lib
- $(MAKEINDEX) modlib.idx
- $(TOOLSDIR)/fix_hack lib.idx
- $(MAKEINDEX) lib.idx
- $(TOOLSDIR)/indfix.py lib.ind
- $(TOOLSDIR)/toc2bkm.py lib
- TEXINPUTS=../lib:$(TEXINPUTS) $(PDFLATEX) lib
-
# Python/C API Reference Manual
api.dvi: $(APIFILES)
$(MKDVI) api
@@ -120,6 +100,13 @@ ext.dvi: $(EXTFILES)
ext.pdf: $(EXTFILES)
$(MKPDF) ext
+# Python Library Reference
+lib.dvi: $(LIBFILES)
+ $(MKDVI) lib
+
+lib.pdf: $(LIBFILES)
+ $(MKPDF) lib
+
# Macintosh Library Modules
mac.dvi: $(MACFILES)
$(MKHOWTO) --dvi ../mac/mac.tex