projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
514fb09
)
Makefile: Add 'check-rst' target to check .rst files for errors. Also add 'doc-checks...
author
david-sarah
<david-sarah@jacaranda.org>
Sat, 23 Jun 2012 23:23:19 +0000
(23:23 +0000)
committer
david-sarah
<david-sarah@jacaranda.org>
Sat, 23 Jun 2012 23:23:19 +0000
(23:23 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/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