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.)
This commit is contained in:
parent
884df454b2
commit
d2d1eef025
|
@ -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 $?
|
||||
|
|
Loading…
Reference in New Issue