diff options
author | Fred Drake <fdrake@acm.org> | 1998-02-27 05:18:28 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-02-27 05:18:28 (GMT) |
commit | 4f4e920889889cc280b5968fe41618c569c1fc71 (patch) | |
tree | 7e27318d1cae925ee6c65728f0940fbfe04177a1 /Doc/Makefile | |
parent | bdab730cf3b9fd7b5583b5652934bf8d80f78170 (diff) | |
download | cpython-4f4e920889889cc280b5968fe41618c569c1fc71.zip cpython-4f4e920889889cc280b5968fe41618c569c1fc71.tar.gz cpython-4f4e920889889cc280b5968fe41618c569c1fc71.tar.bz2 |
Use a Python script to create "empty" indexes. This solves Guido's
corrupted file problem and avoids the shell escape interpretation
portability problem. ;-( See comments at top of newind.py for an
explanation.
Diffstat (limited to 'Doc/Makefile')
-rw-r--r-- | Doc/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/Makefile b/Doc/Makefile index d039e287..c8ed5e7 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -65,6 +65,7 @@ DOCDESTDIR= $LIBDEST/doc EMACS= emacs PYTHON= python MAKEINFO= makeinfo +# When debugging partparse.py, make this the pyc file: PARTPARSEOBJ= partparse.pyc PARTPARSE= $(PYTHON) $(PARTPARSEOBJ) @@ -163,8 +164,8 @@ LIBFILES = lib.tex \ # Library document lib.dvi: modindex.py indfix.py $(LIBFILES) - echo '\\begin{theindex}\end{theindex}' >$*.ind - echo '\\begin{theindex}\label{modindex}\end{theindex}' >mod$*.ind + ./newind.py >$*.ind + ./newind.py modindex >mod$*.ind $(LATEX) $* ./modindex.py mod$*.idx ./fix_hack $*.idx @@ -180,7 +181,7 @@ tut.dvi: tut.tex # Extending & Embedding, Python/C API documents. # Done this way to avoid repeated command sets. .tex.dvi: - echo '\\''begin{theindex}\end{theindex}' >$*.ind + ./newind.py >$*.ind $(LATEX) $* ./fix_hack $*.idx $(MAKEINDEX) $*.idx |