mirror of https://github.com/python/cpython.git
Don't be so ugly as to use "set -x" to get the executed commands printed.
This commit is contained in:
parent
4190fae02a
commit
58ff112e7f
|
@ -19,18 +19,23 @@ part=$1; shift 1
|
||||||
TEXINPUTS=$srcdir/$part:$TEXINPUTS
|
TEXINPUTS=$srcdir/$part:$TEXINPUTS
|
||||||
export TEXINPUTS
|
export TEXINPUTS
|
||||||
|
|
||||||
set -x
|
echo $srcdir'/tools/newind.py >'$part'.ind'
|
||||||
$srcdir/tools/newind.py >$part.ind || exit $?
|
$srcdir/tools/newind.py >$part.ind || exit $?
|
||||||
|
echo "$latex $part"
|
||||||
$latex $part || exit $?
|
$latex $part || exit $?
|
||||||
if [ -f $part.idx ] ; then
|
if [ -f $part.idx ] ; then
|
||||||
# using the index
|
# using the index
|
||||||
|
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'
|
||||||
makeindex -s $srcdir/texinputs/myindex.ist $part.idx || exit $?
|
makeindex -s $srcdir/texinputs/myindex.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
|
||||||
fi
|
fi
|
||||||
if [ "$pdf" ] ; then
|
if [ "$pdf" ] ; then
|
||||||
|
echo $srcdir'/tools/toc2bkm.py '$part
|
||||||
$srcdir/tools/toc2bkm.py $part
|
$srcdir/tools/toc2bkm.py $part
|
||||||
fi
|
fi
|
||||||
|
echo "$latex $part"
|
||||||
$latex $part || exit $?
|
$latex $part || exit $?
|
||||||
|
|
Loading…
Reference in New Issue