doc/Makefile: make rst2html and rst2man halt on warnings
authorMartin Geisler <mg@lazybytes.net>
Sun, 13 Sep 2009 17:08:31 +0200
changeset 9445 f0105f2c424c
parent 9444 2f7f6e43d52b
child 9446 57d682d7d2da
doc/Makefile: make rst2html and rst2man halt on warnings
doc/Makefile
--- 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