]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - makefile
Enable doctesting of ReST docs with `make doctest`.
[dunshire.git] / makefile
index b8a02711b3b0a9f63c0deacb8bc8ad7700e80e6f..511f2cc0fa17b948aeaca578c3331ad18c5b5502 100644 (file)
--- a/makefile
+++ b/makefile
@@ -6,6 +6,10 @@ doc: $(SRCS) doc/source/conf.py doc/makefile
        sphinx-apidoc -f -o doc/source $(SRCDIR)
        cd doc && $(MAKE) html
 
+.PHONY: doctest
+doctest:
+       cd doc && $(MAKE) doctest
+
 .PHONY: check
 check:
        python test/suite.py