Commit 673f3ea0 authored by Fred Drake's avatar Fred Drake

Adjust index file resetting; just remove the files. The new index support

doesn't fail if the files don't exist.

Use makeindex for the module index.
parent c6479baa
...@@ -169,10 +169,9 @@ LIBFILES = lib.tex \ ...@@ -169,10 +169,9 @@ LIBFILES = lib.tex \
# Library document # Library document
lib.dvi: tools/modindex.py tools/indfix.py $(LIBFILES) lib.dvi: tools/modindex.py tools/indfix.py $(LIBFILES)
tools/newind.py >$*.ind rm -f $*.ind mod$*.ind
tools/newind.py modindex >mod$*.ind
$(LATEX) $* $(LATEX) $*
tools/modindex.py mod$*.idx $(MAKEINDEX) mod$*.idx
tools/fix_hack $*.idx tools/fix_hack $*.idx
$(MAKEINDEX) $*.idx $(MAKEINDEX) $*.idx
tools/indfix.py $*.ind tools/indfix.py $*.ind
...@@ -186,7 +185,7 @@ tut.dvi: tut.tex ...@@ -186,7 +185,7 @@ tut.dvi: tut.tex
# Extending & Embedding, Python/C API documents. # Extending & Embedding, Python/C API documents.
# Done this way to avoid repeated command sets. # Done this way to avoid repeated command sets.
.tex.dvi: .tex.dvi:
tools/newind.py >$*.ind rm -f $*.ind
$(LATEX) $* $(LATEX) $*
tools/fix_hack $*.idx tools/fix_hack $*.idx
$(MAKEINDEX) $*.idx $(MAKEINDEX) $*.idx
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment