Reflect new name of index style file.
This commit is contained in:
parent
7f77db9530
commit
fbddddee49
|
@ -5,7 +5,7 @@ PAPER=letter
|
||||||
LATEX= latex
|
LATEX= latex
|
||||||
PDFLATEX= pdflatex
|
PDFLATEX= pdflatex
|
||||||
DVIPS= dvips -N0 -t $(PAPER)
|
DVIPS= dvips -N0 -t $(PAPER)
|
||||||
MAKEINDEX= makeindex -s ../texinputs/myindex.ist
|
MAKEINDEX= makeindex -s ../texinputs/python.ist
|
||||||
PYTHON= python
|
PYTHON= python
|
||||||
|
|
||||||
TOOLSDIR= ../tools
|
TOOLSDIR= ../tools
|
||||||
|
@ -35,7 +35,7 @@ include ../Makefile.deps
|
||||||
|
|
||||||
COMMONSTYLES= ../texinputs/python.sty \
|
COMMONSTYLES= ../texinputs/python.sty \
|
||||||
../texinputs/pypaper.sty \
|
../texinputs/pypaper.sty \
|
||||||
../texinputs/myindex.ist
|
../texinputs/python.ist
|
||||||
|
|
||||||
COMMONTEX= ../texinputs/copyright.tex \
|
COMMONTEX= ../texinputs/copyright.tex \
|
||||||
../texinputs/boilerplate.tex
|
../texinputs/boilerplate.tex
|
||||||
|
|
|
@ -27,8 +27,8 @@ if [ -f $part.idx ] ; then
|
||||||
# using the index
|
# using the index
|
||||||
echo $srcdir'/tools/fix_hack '$part'.idx'
|
echo $srcdir'/tools/fix_hack '$part'.idx'
|
||||||
$srcdir/tools/fix_hack $part.idx || exit $?
|
$srcdir/tools/fix_hack $part.idx || exit $?
|
||||||
echo 'makeindex -s '$srcdir'/texinputs/myindex.ist '$part'.idx'
|
echo 'makeindex -s '$srcdir'/texinputs/python.ist '$part'.idx'
|
||||||
makeindex -s $srcdir/texinputs/myindex.ist $part.idx || exit $?
|
makeindex -s $srcdir/texinputs/python.ist $part.idx || exit $?
|
||||||
else
|
else
|
||||||
# skipping the index; clean up the unused file
|
# skipping the index; clean up the unused file
|
||||||
rm -f $part.ind
|
rm -f $part.ind
|
||||||
|
|
|
@ -119,7 +119,7 @@ use_latex() {
|
||||||
fi
|
fi
|
||||||
if [ -f $MYFILE.idx ] ; then
|
if [ -f $MYFILE.idx ] ; then
|
||||||
$MYDIR/fix_hack $MYFILE.idx || exit $?
|
$MYDIR/fix_hack $MYFILE.idx || exit $?
|
||||||
makeindex -s $TOPDIR/texinputs/myindex.ist $MYFILE.idx || exit $?
|
makeindex -s $TOPDIR/texinputs/python.ist $MYFILE.idx || exit $?
|
||||||
fi
|
fi
|
||||||
if [ -f $MYFILE.toc -a $MYLATEX = pdflatex ] ; then
|
if [ -f $MYFILE.toc -a $MYLATEX = pdflatex ] ; then
|
||||||
$MYDIR/toc2bkm.py -c section $MYFILE
|
$MYDIR/toc2bkm.py -c section $MYFILE
|
||||||
|
|
Loading…
Reference in New Issue