mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Make sure errors get propogated.
This commit is contained in:
parent
5d856fcd0f
commit
f43ce00531
1 changed files with 5 additions and 4 deletions
|
|
@ -2,7 +2,8 @@
|
||||||
#
|
#
|
||||||
# Drive HTML generation for a Python manual.
|
# Drive HTML generation for a Python manual.
|
||||||
#
|
#
|
||||||
# This is probably *not* useful outside of the standard Python documentation.
|
# This is probably *not* useful outside of the standard Python documentation,
|
||||||
|
# but suggestions are welcome and should be sent to <python-docs@python.org>.
|
||||||
#
|
#
|
||||||
# The first arg is required and is the designation for which manual to build;
|
# The first arg is required and is the designation for which manual to build;
|
||||||
# api, ext, lib, ref, or tut. All other args are passed on to latex2html.
|
# api, ext, lib, ref, or tut. All other args are passed on to latex2html.
|
||||||
|
|
@ -28,8 +29,8 @@ latex2html \
|
||||||
-address '<hr>Send comments to <a href="mailto:python-docs@python.org">python-docs@python.org</a>.' \
|
-address '<hr>Send comments to <a href="mailto:python-docs@python.org">python-docs@python.org</a>.' \
|
||||||
-dir $part \
|
-dir $part \
|
||||||
${1:+$@} \
|
${1:+$@} \
|
||||||
$srcdir/$part/$part.tex
|
$srcdir/$part/$part.tex || exit $?
|
||||||
|
|
||||||
echo '(cd '$part'; '$srcdir'/tools/node2label.pl *.html)'
|
echo "(cd $part; $srcdir/tools/node2label.pl \*.html)"
|
||||||
cd $part
|
cd $part
|
||||||
$srcdir/tools/node2label.pl *.html
|
$srcdir/tools/node2label.pl *.html || exit $?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue