]> 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 38bb647994425717c8d83bbffb1211caf410abcd..5529c1615449fb6a14355c58cd107d0cf22e63d5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -134,7 +134,7 @@ check-miscaptures:
        @echo
 
 pyflakes:
-       $(PYTHON) -OOu `which pyflakes` $(SOURCES) |sort |uniq
+       @$(PYTHON) -OOu `which pyflakes` $(SOURCES) |sort |uniq
        @echo
 
 check-umids:
@@ -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
@@ -199,6 +205,10 @@ check-grid: .built
 bench-dirnode: .built
        $(TAHOE) @src/allmydata/test/bench_dirnode.py
 
+# the provisioning tool runs as a stand-alone webapp server
+run-provisioning-tool: .built
+       $(TAHOE) @misc/operations_helpers/provisioning/run.py
+
 # 'make repl' is a simple-to-type command to get a Python interpreter loop
 # from which you can type 'import allmydata'
 repl: