summaryrefslogtreecommitdiffstats
path: root/Doc/tools/mkhtml.sh
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-05-11 18:41:16 (GMT)
committerFred Drake <fdrake@acm.org>1998-05-11 18:41:16 (GMT)
commit323dc70de5fc3daedcdb7e15cded576b5cddeecc (patch)
tree683f7c021f4b22e0ade13a37647daf1da927a868 /Doc/tools/mkhtml.sh
parent2e7edb80e369fee740433386b4d7bcbb32c2619d (diff)
downloadcpython-323dc70de5fc3daedcdb7e15cded576b5cddeecc.zip
cpython-323dc70de5fc3daedcdb7e15cded576b5cddeecc.tar.gz
cpython-323dc70de5fc3daedcdb7e15cded576b5cddeecc.tar.bz2
Don't be so ugly as to use "set -x" to get the executed commands printed.
Diffstat (limited to 'Doc/tools/mkhtml.sh')
-rwxr-xr-xDoc/tools/mkhtml.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/tools/mkhtml.sh b/Doc/tools/mkhtml.sh
index e0f34b8..d6e8508 100755
--- a/Doc/tools/mkhtml.sh
+++ b/Doc/tools/mkhtml.sh
@@ -16,15 +16,16 @@ TEXINPUTS=$srcdir/$part:$TEXINPUTS
export TEXINPUTS
if [ -d $part ] ; then
- (set -x; rm -f $part/*.html)
+ rm -f $part/*.html
fi
-set -x
-
+echo "latex2html -init_file $srcdir/perl/l2hinit.perl ${1:+$@} " \
+ "$srcdir/$part/$part.tex"
latex2html \
-init_file $srcdir/perl/l2hinit.perl \
${1:+$@} \
$srcdir/$part/$part.tex
+echo '(cd '$part'; '$srcdir'/tools/node2label.pl *.html)'
cd $part
$srcdir/tools/node2label.pl *.html