diff options
author | Georg Brandl <georg@python.org> | 2009-01-03 20:30:15 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-01-03 20:30:15 (GMT) |
commit | 9f7a3398ab55e4ccfa4e225a2908918c04c14e40 (patch) | |
tree | 6a50ac3d37da2e5cd652d0666d184c84649d5411 /Doc/Makefile | |
parent | a24067e8b33ef7c7bf57de6264dd1a10f0a970d4 (diff) | |
download | cpython-9f7a3398ab55e4ccfa4e225a2908918c04c14e40.zip cpython-9f7a3398ab55e4ccfa4e225a2908918c04c14e40.tar.gz cpython-9f7a3398ab55e4ccfa4e225a2908918c04c14e40.tar.bz2 |
Add rstlint, a little tool to find subtle markup problems and inconsistencies in the Doc sources.
Diffstat (limited to 'Doc/Makefile')
-rw-r--r-- | Doc/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/Makefile b/Doc/Makefile index be05d4b..02d1acf 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -14,7 +14,7 @@ DISTVERSION = $(shell $(PYTHON) tools/sphinxext/patchlevel.py) ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_paper_size=$(PAPER) \ $(SPHINXOPTS) . build/$(BUILDER) $(SOURCES) -.PHONY: help checkout update build html htmlhelp clean coverage dist +.PHONY: help checkout update build html htmlhelp clean coverage dist check help: @echo "Please use \`make <target>' where <target> is one of" @@ -141,3 +141,5 @@ dist: cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2 +check: + $(PYTHON) tools/rstlint.py -i tools -s 2 |