Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d2d1eef

Browse files
committed
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.)
1 parent 884df45 commit d2d1eef

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Doc/tools/mkhtml.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,15 @@ fi
3232
echo "latex2html -init_file $srcdir/perl/l2hinit.perl -dir $part" \
3333
"${1:+$@} $srcdir/$part/$part.tex"
3434
latex2html \
35+
-no_auto_link \
3536
-init_file $srcdir/perl/l2hinit.perl \
36-
-address '<hr>Send comments to <a href="mailto:[email protected]">[email protected]</a>.' \
37+
-address '<hr>Send comments on this document to <a href="mailto:[email protected]">[email protected]</a>.' \
3738
-dir $part \
3839
${1:+$@} \
3940
$srcdir/$part/$part.tex || exit $?
4041

42+
cp $part/$part.html $part/index.html
43+
4144
# copy in the stylesheet
4245
echo "cp $srcdir/html/style.css $part/$part.css"
4346
cp $srcdir/html/style.css $part/$part.css || exit $?

0 commit comments

Comments
 (0)