Use 'python3 -m sphinx' instead of sphinx-build for building docs

This commit is contained in:
Ondřej Nový 2018-10-01 10:44:22 +02:00
parent debbac6d0f
commit c73e0e4612
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
python-click (6.7+git20180829-2) UNRELEASED; urgency=medium
* Use 'python3 -m sphinx' instead of sphinx-build for building docs
-- Ondřej Nový <onovy@debian.org> Mon, 01 Oct 2018 10:44:22 +0200
python-click (6.7+git20180829-1) unstable; urgency=medium
* New upstream snapshot.

2
debian/rules vendored
View file

@ -14,6 +14,6 @@ export SOURCE = $(CURDIR)/debian/
override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
http_proxy='http://127.0.0.1:9/' PYTHONPATH=. sphinx-build -N -q -E -b html docs/ debian/python-click-doc/usr/share/doc/python-click/html/
http_proxy='http://127.0.0.1:9/' PYTHONPATH=. python3 -m sphinx -N -q -E -b html docs/ debian/python-click-doc/usr/share/doc/python-click/html/
dh_sphinxdoc
endif