mirror of https://github.com/python/cpython
Nasty hack to add a --numeric parameter to skip the use of "logical"
names.
This commit is contained in:
parent
664c72f8a1
commit
c1db512b2b
|
@ -13,6 +13,13 @@ cd `dirname $0`/..
|
||||||
srcdir=`pwd`
|
srcdir=`pwd`
|
||||||
cd $WORKDIR
|
cd $WORKDIR
|
||||||
|
|
||||||
|
use_logical_names=true
|
||||||
|
|
||||||
|
if [ "$1" = "--numeric" ] ; then
|
||||||
|
use_logical_names=''
|
||||||
|
shift 1
|
||||||
|
fi
|
||||||
|
|
||||||
part=$1; shift 1
|
part=$1; shift 1
|
||||||
|
|
||||||
TEXINPUTS=$srcdir/$part:$TEXINPUTS
|
TEXINPUTS=$srcdir/$part:$TEXINPUTS
|
||||||
|
@ -35,6 +42,10 @@ latex2html \
|
||||||
echo "cp $srcdir/html/style.css $part/$part.css"
|
echo "cp $srcdir/html/style.css $part/$part.css"
|
||||||
cp $srcdir/html/style.css $part/$part.css || exit $?
|
cp $srcdir/html/style.css $part/$part.css || exit $?
|
||||||
|
|
||||||
echo "(cd $part; $srcdir/tools/node2label.pl \*.html)"
|
if [ "$use_logical_names" ] ; then
|
||||||
cd $part
|
echo "(cd $part; $srcdir/tools/node2label.pl \*.html)"
|
||||||
$srcdir/tools/node2label.pl *.html || exit $?
|
cd $part
|
||||||
|
$srcdir/tools/node2label.pl *.html || exit $?
|
||||||
|
else
|
||||||
|
echo "Skipping use of logical file names due to --numeric."
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue