diff options
author | Fred Drake <fdrake@acm.org> | 1998-10-19 19:14:42 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-10-19 19:14:42 (GMT) |
commit | a5de730d2df6f842e6f1b498411224662d1e8638 (patch) | |
tree | 2bd2aed14d45a71fc7c70f36a2f3ac3bf7816fa3 /Doc | |
parent | d90ae19b92b6172f5b1aceb34c5c18ca28144ca7 (diff) | |
download | cpython-a5de730d2df6f842e6f1b498411224662d1e8638.zip cpython-a5de730d2df6f842e6f1b498411224662d1e8638.tar.gz cpython-a5de730d2df6f842e6f1b498411224662d1e8638.tar.bz2 |
If building HTML and the icons should be served from the same
directory as the HTML (--iconserver .), copy the icons into place.
Clarify that lynx is needed for --text in the usage message.
Fix a typo in a comment.
Diffstat (limited to 'Doc')
-rwxr-xr-x | Doc/tools/mkhowto.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/tools/mkhowto.sh b/Doc/tools/mkhowto.sh index e53569b..0fdf09d 100755 --- a/Doc/tools/mkhowto.sh +++ b/Doc/tools/mkhowto.sh @@ -32,15 +32,15 @@ LOGGING='' usage() { MYNAME=`basename $0` - echo "usage: $MYNAME [options...] file ..." cat <<EOF +usage: $MYNAME [options...] file ... Options specifying formats to build: --html HyperText Markup Language --pdf Portable Document Format (default) --ps PostScript --dvi "DeVice Indepentent" format from TeX - --text ASCII text + --text ASCII text (requires lynx) More than one output format may be specified, or --all. @@ -65,7 +65,6 @@ EOF echo "$2" echo fi - exit $1 } @@ -309,7 +308,7 @@ if [ "$DEBUGGING" ] ; then fi echo '# auxillary init file for latex2html' >$L2H_AUX_INIT_FILE -echo '# generated by mkhowto.sh -- do no edit' >>$L2H_AUX_INIT_FILE +echo '# generated by mkhowto.sh -- do not edit' >>$L2H_AUX_INIT_FILE if [ "$ICONSERVER" ] ; then ICONSERVER="${ICONSERVER%/}" fi @@ -347,6 +346,9 @@ for FILE in $@ ; do HAVE_TEMPS=true fi build_html $FILE $FILE 2>&1 | tee -a $LOGFILE + if [ "$ICONSERVER" = "." ] ; then + cp $TOPDIR/icons/*.gif $FILE/ + fi fi if [ "$BUILD_TEXT" ] ; then if [ ! "$HAVE_TEMPS" ] ; then |