From: Fred Drake Date: Mon, 19 Oct 1998 19:14:42 +0000 (+0000) Subject: If building HTML and the icons should be served from the same X-Git-Tag: v1.5.2b1~307 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5de730d2df6f842e6f1b498411224662d1e8638;p=python 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. --- diff --git a/Doc/tools/mkhowto.sh b/Doc/tools/mkhowto.sh index e53569b6df..0fdf09dd47 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 <$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