summaryrefslogtreecommitdiffstats
path: root/Doc/tools/mkhtml.sh
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-05-08 04:00:56 (GMT)
committerFred Drake <fdrake@acm.org>1998-05-08 04:00:56 (GMT)
commitf4166a478a1405f21753189970ef9083d5a4601c (patch)
tree621c0635e3cb85c8b87c9eb1a845f1d0296eccfe /Doc/tools/mkhtml.sh
parentdf68e3dd6d6864e754214ba51e79ec4ef437374e (diff)
downloadcpython-f4166a478a1405f21753189970ef9083d5a4601c.zip
cpython-f4166a478a1405f21753189970ef9083d5a4601c.tar.gz
cpython-f4166a478a1405f21753189970ef9083d5a4601c.tar.bz2
Some versions of latex2html don't automatically append the .tex extension to
the name of the main .tex source file if it's not in the current directory.
Diffstat (limited to 'Doc/tools/mkhtml.sh')
-rwxr-xr-xDoc/tools/mkhtml.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/tools/mkhtml.sh b/Doc/tools/mkhtml.sh
index 336d6df..e0f34b8 100755
--- a/Doc/tools/mkhtml.sh
+++ b/Doc/tools/mkhtml.sh
@@ -21,7 +21,10 @@ fi
set -x
-latex2html -init_file $srcdir/perl/l2hinit.perl ${1:+$@} $srcdir/$part/$part
+latex2html \
+ -init_file $srcdir/perl/l2hinit.perl \
+ ${1:+$@} \
+ $srcdir/$part/$part.tex
cd $part
$srcdir/tools/node2label.pl *.html