--- a/debian/rules 2019-07-18 09:23:33.840540525 -0300 --- b/debian/rules 2019-07-18 09:42:30.420115511 -0300 @@ -22,7 +22,7 @@ override_dh_sphinxdoc: ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) - PYTHONPATH=. python3 -m sphinx -b html doc/source $(CURDIR)/debian/python-manilaclient-doc/usr/share/doc/python-manilaclient-doc/html + PATH=$$PATH:$(CURDIR)/debian/python3-manilaclient/usr/bin PYTHONPATH=$(CURDIR) python3 -m sphinx -b html doc/source $(CURDIR)/debian/python-manilaclient-doc/usr/share/doc/python-manilaclient-doc/html dh_sphinxdoc endif