3 # Drive HTML generation for a Python manual.
5 # This is probably *not* useful outside of the standard Python documentation.
7 # The first arg is required and is the designation for which manual to build;
8 # api, ext, lib, ref, or tut. All other args are passed on to latex2html.
17 TEXINPUTS
=$srcdir/$part:$TEXINPUTS
20 if [ -d $part ] ; then
24 echo "latex2html -init_file $srcdir/perl/l2hinit.perl -dir $part" \
25 "${1:+$@} $srcdir/$part/$part.tex"
27 -init_file $srcdir/perl
/l2hinit.perl \
30 $srcdir/$part/$part.tex
32 echo '(cd '$part'; '$srcdir'/tools/node2label.pl *.html)'
34 $srcdir/tools
/node2label.pl
*.html