Added support for DEB_BUILD_OPTIONS=nodocs.
This commit is contained in:
parent
36c6126007
commit
78d34c4375
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -2,6 +2,7 @@ python-os-client-config (1.12.0-1) UNRELEASED; urgency=medium
|
|||||||
|
|
||||||
* New upstream release.
|
* New upstream release.
|
||||||
* Fixed (build-)depends for this release.
|
* Fixed (build-)depends for this release.
|
||||||
|
* Added support for DEB_BUILD_OPTIONS=nodocs.
|
||||||
|
|
||||||
-- Thomas Goirand <zigo@debian.org> Fri, 27 Nov 2015 12:15:09 +0100
|
-- Thomas Goirand <zigo@debian.org> Fri, 27 Nov 2015 12:15:09 +0100
|
||||||
|
|
||||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -43,8 +43,10 @@ override_dh_clean:
|
|||||||
rm -rf build .testrepository
|
rm -rf build .testrepository
|
||||||
|
|
||||||
override_dh_sphinxdoc:
|
override_dh_sphinxdoc:
|
||||||
|
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
|
||||||
sphinx-build -b html doc/source debian/python-os-client-config-doc/usr/share/doc/python-os-client-config-doc/html
|
sphinx-build -b html doc/source debian/python-os-client-config-doc/usr/share/doc/python-os-client-config-doc/html
|
||||||
dh_sphinxdoc -O--buildsystem=python_distutils
|
dh_sphinxdoc -O--buildsystem=python_distutils
|
||||||
|
endif
|
||||||
|
|
||||||
# Commands not to run
|
# Commands not to run
|
||||||
override_dh_installcatalogs:
|
override_dh_installcatalogs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user