summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-09 16:37:52 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-09 16:37:52 (GMT)
commit8bc965785ee253e22502209b167661df270bc03c (patch)
tree0a1793683334a7151accb4284fffff7ccdf23dd5
parentb390daf704c9b58af510c3414feb97bee5710d7c (diff)
downloadcpython-8bc965785ee253e22502209b167661df270bc03c.zip
cpython-8bc965785ee253e22502209b167661df270bc03c.tar.gz
cpython-8bc965785ee253e22502209b167661df270bc03c.tar.bz2
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.
-rw-r--r--Doc/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index c11fadd..c01b151 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -169,10 +169,9 @@ LIBFILES = lib.tex \
# Library document
lib.dvi: tools/modindex.py tools/indfix.py $(LIBFILES)
- tools/newind.py >$*.ind
- tools/newind.py modindex >mod$*.ind
+ rm -f $*.ind mod$*.ind
$(LATEX) $*
- tools/modindex.py mod$*.idx
+ $(MAKEINDEX) mod$*.idx
tools/fix_hack $*.idx
$(MAKEINDEX) $*.idx
tools/indfix.py $*.ind
@@ -186,7 +185,7 @@ tut.dvi: tut.tex
# Extending & Embedding, Python/C API documents.
# Done this way to avoid repeated command sets.
.tex.dvi:
- tools/newind.py >$*.ind
+ rm -f $*.ind
$(LATEX) $*
tools/fix_hack $*.idx
$(MAKEINDEX) $*.idx