Commit 4b067712 authored by Ondřej Nový's avatar Ondřej Nový

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

parent f20cef0d
......@@ -2,6 +2,7 @@ python-django-crispy-forms (1.7.2-2) UNRELEASED; urgency=medium
* d/control: Remove ancient X-Python-Version field
* d/control: Remove ancient X-Python3-Version field
* Use 'python3 -m sphinx' instead of sphinx-build for building docs
-- Ondřej Nový <onovy@debian.org> Mon, 14 May 2018 07:57:18 +0200
......
......@@ -14,7 +14,7 @@ export PYBUILD_DISABLE=test
override_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=. sphinx-build -b html -N docs/ $(CURDIR)/debian/python-django-crispy-forms-doc/usr/share/doc/python-django-crispy-forms-doc/html
PYTHONPATH=. python3 -m sphinx -b html -N docs/ $(CURDIR)/debian/python-django-crispy-forms-doc/usr/share/doc/python-django-crispy-forms-doc/html
dh_sphinxdoc
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment