Kaydet (Commit) d2d1eef0 authored tarafından Fred Drake's avatar Fred Drake

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.)
üst 884df454
...@@ -32,12 +32,15 @@ fi ...@@ -32,12 +32,15 @@ fi
echo "latex2html -init_file $srcdir/perl/l2hinit.perl -dir $part" \ echo "latex2html -init_file $srcdir/perl/l2hinit.perl -dir $part" \
"${1:+$@} $srcdir/$part/$part.tex" "${1:+$@} $srcdir/$part/$part.tex"
latex2html \ latex2html \
-no_auto_link \
-init_file $srcdir/perl/l2hinit.perl \ -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 \ -dir $part \
${1:+$@} \ ${1:+$@} \
$srcdir/$part/$part.tex || exit $? $srcdir/$part/$part.tex || exit $?
cp $part/$part.html $part/index.html
# copy in the stylesheet # copy in the stylesheet
echo "cp $srcdir/html/style.css $part/$part.css" echo "cp $srcdir/html/style.css $part/$part.css"
cp $srcdir/html/style.css $part/$part.css || exit $? cp $srcdir/html/style.css $part/$part.css || exit $?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment