Added PYTHONPATH=. when generating sphinx doc.
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -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
2
debian/rules
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user