]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - Makefile
Makefile: Add 'check-rst' target to check .rst files for errors. Also add 'doc-checks...
[tahoe-lafs/tahoe-lafs.git] / Makefile
index 89532499154fc2b521a76433879b5a96f8ea8119..5529c1615449fb6a14355c58cd107d0cf22e63d5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -145,6 +145,12 @@ check-umids:
        -$(PYTHON) misc/coding_tools/check-umids.py `find $(SOURCES) -name '*.py'`
        @echo
 
+doc-checks: check-rst
+
+check-rst:
+       @for x in `find *.rst docs -name "*.rst"`; do rst2html -v $${x} >/dev/null; done 2>&1 |grep -v 'Duplicate implicit target name:'
+       @echo
+
 count-lines:
        @echo -n "files: "
        @find src -name '*.py' |grep -v /build/ |wc -l