Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 58ff112

Browse files
committed
Don't be so ugly as to use "set -x" to get the executed commands printed.
1 parent 4190fae commit 58ff112

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Doc/tools/mkdvi.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,23 @@ part=$1; shift 1
1919
TEXINPUTS=$srcdir/$part:$TEXINPUTS
2020
export TEXINPUTS
2121

22-
set -x
22+
echo $srcdir'/tools/newind.py >'$part'.ind'
2323
$srcdir/tools/newind.py >$part.ind || exit $?
24+
echo "$latex $part"
2425
$latex $part || exit $?
2526
if [ -f $part.idx ] ; then
2627
# using the index
28+
echo $srcdir'/tools/fix_hack '$part'.idx'
2729
$srcdir/tools/fix_hack $part.idx || exit $?
30+
echo 'makeindex -s '$srcdir'/texinputs/myindex.ist '$part'.idx'
2831
makeindex -s $srcdir/texinputs/myindex.ist $part.idx || exit $?
2932
else
3033
# skipping the index; clean up the unused file
3134
rm -f $part.ind
3235
fi
3336
if [ "$pdf" ] ; then
37+
echo $srcdir'/tools/toc2bkm.py '$part
3438
$srcdir/tools/toc2bkm.py $part
3539
fi
40+
echo "$latex $part"
3641
$latex $part || exit $?

0 commit comments

Comments
 (0)