]> granicus.if.org Git - python/commitdiff
Adjust index file resetting; just remove the files. The new index support
authorFred Drake <fdrake@acm.org>
Mon, 9 Mar 1998 16:37:52 +0000 (16:37 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 9 Mar 1998 16:37:52 +0000 (16:37 +0000)
doesn't fail if the files don't exist.

Use makeindex for the module index.

Doc/Makefile

index c11faddb87af8f7f6e17ec7927b598905d9a5b01..c01b15102d7934ef54d89dbf5867e9c046a46162 100644 (file)
@@ -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