Added PYTHONPATH=. when generating sphinx doc.

This commit is contained in:
Thomas Goirand
2014-09-19 16:09:38 +00:00
parent dcba028d3f
commit 8697eb568f
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@@ -5,6 +5,7 @@ python-oslo.db (1.0.0-1) experimental; urgency=medium
* Updated (build-)depends for this release.
* Allow the unit tests to fail because they don't work with the namespace of
oslo :(.
* Added PYTHONPATH=. when generating sphinx doc.
-- Thomas Goirand <zigo@debian.org> Fri, 19 Sep 2014 22:34:16 +0800

2
debian/rules vendored
View File

@@ -40,7 +40,7 @@ override_dh_clean:
override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
sphinx-build -b html doc/source debian/python-oslo.db-doc/usr/share/doc/python-oslo.db-doc/html
PYTHONPATH=. sphinx-build -b html doc/source debian/python-oslo.db-doc/usr/share/doc/python-oslo.db-doc/html
dh_sphinxdoc -O--buildsystem=python_distutils
endif