changeset 9445:f0105f2c424c

doc/Makefile: make rst2html and rst2man halt on warnings
author Martin Geisler <mg@lazybytes.net>
date Sun, 13 Sep 2009 17:08:31 +0200
parents 2f7f6e43d52b
children 57d682d7d2da
files doc/Makefile
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/Makefile	Sun Sep 13 17:05:38 2009 +0200
+++ b/doc/Makefile	Sun Sep 13 17:08:31 2009 +0200
@@ -21,10 +21,11 @@
 	mv $@.tmp $@
 
 %: %.txt common.txt
-	$(PYTHON) rst2man.py --strip-elements-with-class htmlonly $*.txt $*
+	$(PYTHON) rst2man.py --halt warning \
+	  --strip-elements-with-class htmlonly $*.txt $*
 
 %.html: %.txt common.txt
-	$(RST2HTML) $*.txt $*.html
+	$(RST2HTML) --halt warning $*.txt $*.html
 
 MANIFEST: man html
 # tracked files are already in the main MANIFEST