let the doc build fail if rst2html finds errors

This commit is contained in:
Christian Weiske 2011-05-26 18:19:35 +02:00
parent 189449c0d7
commit b56d604e7e

View file

@ -227,7 +227,10 @@
<param value="${fname}"/> <param value="${fname}"/>
</php> </php>
<!--<echo msg="${fname} - ${outfile}"/>--> <!--<echo msg="${fname} - ${outfile}"/>-->
<exec command="rst2html ${fname} > dist/${outfile}" checkreturn="1"/> <exec
command="rst2html --exit-status=2 ${fname} > dist/${outfile}"
checkreturn="1"
/>
</target> </target>