mirror of
https://github.com/python/cpython.git
synced 2025-11-19 02:39:15 +00:00
Add a few comments.
This commit is contained in:
parent
38df3c383d
commit
c4e9263010
1 changed files with 8 additions and 1 deletions
|
|
@ -1,6 +1,11 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# -*- Ksh -*-
|
# -*- 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}
|
PERL=${PERL:-perl}
|
||||||
EMACS=${EMACS:-emacs}
|
EMACS=${EMACS:-emacs}
|
||||||
|
|
@ -14,6 +19,7 @@ DOCDIR=`dirname "$FILENAME"`
|
||||||
DOCFILE=`basename "$FILENAME"`
|
DOCFILE=`basename "$FILENAME"`
|
||||||
DOCNAME=`basename "$FILENAME" .html`
|
DOCNAME=`basename "$FILENAME" .html`
|
||||||
|
|
||||||
|
# Now build the real directory names, and locate our support stuff:
|
||||||
WORKDIR=`pwd`
|
WORKDIR=`pwd`
|
||||||
cd `dirname $0`
|
cd `dirname $0`
|
||||||
TOOLSDIR=`pwd`
|
TOOLSDIR=`pwd`
|
||||||
|
|
@ -23,7 +29,8 @@ cd $WORKDIR
|
||||||
|
|
||||||
|
|
||||||
run() {
|
run() {
|
||||||
echo "$@"
|
# show what we're doing, like make does:
|
||||||
|
echo "$*"
|
||||||
$* || exit $?
|
$* || exit $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue