mirror of https://github.com/python/cpython.git
Add a comment explaining that this script is probably not useful outside the
standard Python documentation, since the mkhowto.sh script is. Let there be no doubts....
This commit is contained in:
parent
4d46487fe8
commit
f6b6bbceb6
|
@ -1,9 +1,11 @@
|
|||
#! /bin/sh
|
||||
#
|
||||
# Drive HTML generation for a Python manual.
|
||||
# Drive HTML generation for a Python manual.
|
||||
#
|
||||
# The first arg is required and is the designation for which manual to build;
|
||||
# api, ext, lib, ref, or tut. All other args are passed on to latex2html.
|
||||
# This is probably *not* useful outside of the standard Python documentation.
|
||||
#
|
||||
# The first arg is required and is the designation for which manual to build;
|
||||
# api, ext, lib, ref, or tut. All other args are passed on to latex2html.
|
||||
|
||||
WORKDIR=`pwd`
|
||||
cd `dirname $0`/..
|
||||
|
@ -19,7 +21,7 @@ if [ -d $part ] ; then
|
|||
rm -f $part/*.html
|
||||
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"
|
||||
latex2html \
|
||||
-init_file $srcdir/perl/l2hinit.perl \
|
||||
|
|
Loading…
Reference in New Issue