summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-05-26 18:19:35 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-05-26 18:19:35 +0200
commitb56d604e7eedc1c748e90da4f3a1948b052e20cb (patch)
tree6734522b41aa280d8f320c6550a27921d7ce2ac7
parent189449c0d73a88ae87569cb9427fcd7dc6142c62 (diff)
downloadsemanticscuttle-b56d604e7eedc1c748e90da4f3a1948b052e20cb.tar.gz
semanticscuttle-b56d604e7eedc1c748e90da4f3a1948b052e20cb.tar.bz2
let the doc build fail if rst2html finds errors
-rw-r--r--build.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index a51bdbb..0289c38 100644
--- a/build.xml
+++ b/build.xml
@@ -227,7 +227,10 @@
<param value="${fname}"/>
</php>
<!--<echo msg="${fname} - ${outfile}"/>-->
- <exec command="rst2html ${fname} > dist/${outfile}" checkreturn="1"/>
+ <exec
+ command="rst2html --exit-status=2 ${fname} > dist/${outfile}"
+ checkreturn="1"
+ />
</target>