2 SPHINXBUILD = sphinx-build
4 DOCHTML = $(DOCDIR)/html
5 DOCTREES = $(DOCDIR)/doctrees
6 ALLSPHINXOPTS = -d $(DOCTREES) $(SPHINXOPTS) $(DOCDIR)
13 ./setup.py build_ext --inplace
16 $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(DOCHTML)
19 for ver in 2.4 2.5 2.6 3.0 3.1; do \
20 if type python$$ver >/dev/null; then \
21 echo Testing with python$$ver; \
22 python$$ver ./setup.py test; \
27 rm -rf $(DOCHTML) $(DOCTREES)
31 .PHONY: doc test clean