mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 03:14:21 +00:00
Makefile: Add 'check-rst' target to check .rst files for errors. Also add 'doc-checks' which at the moment just runs check-rst, but might do more in future. fixes #1780
This commit is contained in:
parent
514fb096be
commit
1b4474d1ae
6
Makefile
6
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user