summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-17 06:22:12 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-17 06:22:12 (GMT)
commit396a7cfb9404e4d38fe285b5f2c7432e6ec6f47b (patch)
tree6aee52477a4d889810d6569fe5ef6c8cc0ac76e2 /Doc/Makefile
parenta2be9881f0ca631a09d790b9ac59ddf2c7184725 (diff)
downloadcpython-396a7cfb9404e4d38fe285b5f2c7432e6ec6f47b.zip
cpython-396a7cfb9404e4d38fe285b5f2c7432e6ec6f47b.tar.gz
cpython-396a7cfb9404e4d38fe285b5f2c7432e6ec6f47b.tar.bz2
Reverting some the index stuff to use tools/newind.py again; this works
better with LaTeX2HTML. Run pdflatex twice to generate the PDF files, even though LaTeX has already been run a couple of times. This ensures that font metrics for the final run match those for the first run, and seesm to get (somewhat) better outline results.
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index dabeb11..cfc6ad2 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -125,6 +125,7 @@ tut-all: tut.dvi tut.pdf tut.ps l2htut
# only free software.
#
.dvi.pdf: $*.bkm
+ $(PDFLATEX) $*
$(PYTHON) tools/toc2bkm.py $*
$(PDFLATEX) $*
@@ -169,7 +170,8 @@ LIBFILES = lib.tex \
# Library document
lib.dvi: tools/indfix.py $(LIBFILES)
- rm -f $*.ind mod$*.ind
+ tools/newind.py >$*.ind
+ tools/newind.py modindex >mod$*.ind
$(LATEX) $*
$(MAKEINDEX) mod$*.idx
tools/fix_hack $*.idx
@@ -185,7 +187,7 @@ tut.dvi: tut.tex
# Extending & Embedding, Python/C API documents.
# Done this way to avoid repeated command sets.
.tex.dvi:
- rm -f $*.ind
+ tools/newind.py >$*.ind
$(LATEX) $*
tools/fix_hack $*.idx
$(MAKEINDEX) $*.idx