]> granicus.if.org Git - python/commitdiff
Make sure latex2html doesn't produce a hard link from $part/$part.html
authorFred Drake <fdrake@acm.org>
Mon, 3 May 1999 14:27:45 +0000 (14:27 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 3 May 1999 14:27:45 +0000 (14:27 +0000)
and $part/index.html.  Make a copy instead.  (Appearantly some tar
openers on non-Unixlike systems can't handle hard links.)

Doc/tools/mkhtml.sh

index 8857ef835bbd645a7c3739c8f002c6ad010ba40b..11f7feac784ba428587ac0c1693c1ff9721b784b 100755 (executable)
@@ -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 $?