Add a few comments.

This commit is contained in:
Fred Drake 1999-01-08 15:32:27 +00:00
parent 38df3c383d
commit c4e9263010
1 changed files with 8 additions and 1 deletions

View File

@ -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 $?
}