Commit 460ecac0 authored by Fred Drake's avatar Fred Drake

Make sure errors get propogated.

parent fc271f54
...@@ -2,7 +2,8 @@ ...@@ -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 \ ...@@ -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 $?
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment