summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-05-03 14:27:45 (GMT)
committerFred Drake <fdrake@acm.org>1999-05-03 14:27:45 (GMT)
commitd2d1eef0250f786e8d8d69167452b8eee83998da (patch)
tree173b2ba70e2d67ae7bd96abd32387e659a4fde5c /Doc
parent884df454b271cf8f433d36aa0613cf1c62288c8e (diff)
downloadcpython-d2d1eef0250f786e8d8d69167452b8eee83998da.zip
cpython-d2d1eef0250f786e8d8d69167452b8eee83998da.tar.gz
cpython-d2d1eef0250f786e8d8d69167452b8eee83998da.tar.bz2
Make sure latex2html doesn't produce a hard link from $part/$part.html
and $part/index.html. Make a copy instead. (Appearantly some tar openers on non-Unixlike systems can't handle hard links.)
Diffstat (limited to 'Doc')
-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 8857ef8..11f7fea 100755
--- a/Doc/tools/mkhtml.sh
+++ b/Doc/tools/mkhtml.sh
@@ -32,12 +32,15 @@ fi
echo "latex2html -init_file $srcdir/perl/l2hinit.perl -dir $part" \
"${1:+$@} $srcdir/$part/$part.tex"
latex2html \
+ -no_auto_link \
-init_file $srcdir/perl/l2hinit.perl \
- -address '<hr>Send comments to <a href="mailto:python-docs@python.org">python-docs@python.org</a>.' \
+ -address '<hr>Send comments on this document to <a href="mailto:python-docs@python.org">python-docs@python.org</a>.' \
-dir $part \
${1:+$@} \
$srcdir/$part/$part.tex || exit $?
+cp $part/$part.html $part/index.html
+
# copy in the stylesheet
echo "cp $srcdir/html/style.css $part/$part.css"
cp $srcdir/html/style.css $part/$part.css || exit $?