diff doc/Makefile @ 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 d1aa5393bef4
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