From: Fred Drake Date: Fri, 8 Jan 1999 15:32:27 +0000 (+0000) Subject: Add a few comments. X-Git-Tag: v1.5.2b2~415 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c4e9263010b808c7dede082ab4d8d12e4fa76602;p=thirdparty%2FPython%2Fcpython.git Add a few comments. --- diff --git a/Doc/tools/mkinfo b/Doc/tools/mkinfo index 51279a032115..edba1db8e704 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. 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 $? }