File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 99integration : tox
1010 tox
1111
12+ distribute :
13+ @python -c ' from setuptools import _distribute' 2> /dev/null || pip install distribute
14+
15+ pypi : distribute
16+ python setup.py sdist upload
17+ cd docs && make html HTMLDIR=../build/docs
18+ python setup.py upload_docs
19+
1220.PHONY : test integration
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ SPHINXOPTS =
66SPHINXBUILD = sphinx-build
77PAPER =
88BUILDDIR = _build
9+ HTMLDIR = $(BUILDDIR ) /html
910
1011# Internal variables.
1112PAPEROPT_a4 = -D latex_paper_size=a4
3738 -rm -rf $(BUILDDIR ) /*
3839
3940html : clean
40- $(SPHINXBUILD ) -b html $(ALLSPHINXOPTS ) $(BUILDDIR ) /html
41+ $(SPHINXBUILD ) -b html $(ALLSPHINXOPTS ) $(HTMLDIR )
4142 @echo
42- @echo " Build finished. The HTML pages are in $( BUILDDIR ) /html ."
43+ @echo " Build finished. The HTML pages are in $( HTMLDIR ) ."
4344
4445dirhtml :
4546 $(SPHINXBUILD ) -b dirhtml $(ALLSPHINXOPTS ) $(BUILDDIR ) /dirhtml
You can’t perform that action at this time.
0 commit comments