diff options
author | Fred Drake <fdrake@acm.org> | 1999-01-08 15:32:27 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-01-08 15:32:27 (GMT) |
commit | c4e9263010b808c7dede082ab4d8d12e4fa76602 (patch) | |
tree | e9239975d4a72513611a017d9f3f69a700b5404a /Doc/tools | |
parent | 38df3c383d958066ad2f698091abe3eeeb6e4f26 (diff) | |
download | cpython-c4e9263010b808c7dede082ab4d8d12e4fa76602.zip cpython-c4e9263010b808c7dede082ab4d8d12e4fa76602.tar.gz cpython-c4e9263010b808c7dede082ab4d8d12e4fa76602.tar.bz2 |
Add a few comments.
Diffstat (limited to 'Doc/tools')
-rwxr-xr-x | Doc/tools/mkinfo | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Doc/tools/mkinfo b/Doc/tools/mkinfo index 51279a0..edba1db 100755 --- a/Doc/tools/mkinfo +++ b/Doc/tools/mkinfo @@ -1,6 +1,11 @@ #! /bin/sh # -*- Ksh -*- +# Script to drive the HTML-info conversion process. +# Pass in a single parameter: the name of the top-level HTML file +# generated by LaTeX2HTML. +# +# Written by Fred L. Drake, Jr. <fdrake@acm.org> PERL=${PERL:-perl} EMACS=${EMACS:-emacs} @@ -14,6 +19,7 @@ DOCDIR=`dirname "$FILENAME"` DOCFILE=`basename "$FILENAME"` DOCNAME=`basename "$FILENAME" .html` +# Now build the real directory names, and locate our support stuff: WORKDIR=`pwd` cd `dirname $0` TOOLSDIR=`pwd` @@ -23,7 +29,8 @@ cd $WORKDIR run() { - echo "$@" + # show what we're doing, like make does: + echo "$*" $* || exit $? } |