+cinder (1:2015.1.0-1~u14.04+mos5) mos7.0; urgency=medium
+
+ * debian/control:
+ - Add cinder-doc package section
+ - Add python-sphinx and python-oslosphinx
+ to build dependencies
+ * debian/rules:
+ - Add sphinxdoc to build with
+ - Add override_dh_sphinxdoc section
+ * Remove debian/docs
+
+ -- Michael Ivanov <mivanov@mirantis.net> Wed, 24 Jun 2015 13:27:58 +0300
+
cinder (1:2015.1.0-1~u14.04+mos4) mos7.0; urgency=medium
* Remove ger-orig-source from rules
debhelper (>= 9),
dh-systemd,
openstack-pkg-tools (>= 21),
- python-all (>= 2.7.1)
+ python-all (>= 2.7.1),
+ python-sphinx (>= 1.1.2)
Build-Depends-Indep:
python-anyjson (>= 0.3.3),
python-babel (>= 1.3),
python-routes (>= 1.12.3),
python-setuptools,
python-six (>= 1.9.0),
- python-sphinx (>= 1.1.2),
python-sqlalchemy (>= 0.9.7),
python-stevedore (>= 1.3.0),
python-subunit (>= 0.0.18),
.
Cinder is the OpenStack Block storage service.
.
- This package contains the Cinder backup service.
\ No newline at end of file
+ This package contains the Cinder backup service.
+
+Package: cinder-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Cinder storage service - Scheduler server
+ OpenStack is a reliable cloud infrastructure. Its mission is to produce
+ the ubiquitous cloud computing platform that will meet the needs of public
+ and private cloud providers regardless of size, by being simple to implement
+ and massively scalable.
+ .
+ Cinder is the OpenStack Block storage service.
+ .
+ This package contains the documentation
include /usr/share/openstack-pkg-tools/pkgos.make
%:
- dh $@ --with python2,systemd
+ dh $@ --with python2,systemd,sphinxdoc
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
# temporary workaround for d2to1 wonkyness
dh_clean -Xsetup.cfg
rm -f debian/*.init debian/*.service debian/*.upstart
+
+override_dh_sphinxdoc:
+ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
+ python setup.py build_sphinx
+ cp -rf doc/build/html $(CURDIR)/debian/cinder-doc/usr/share/doc/cinder-doc
+ dh_sphinxdoc -O--buildsystem=python_distutils
+endif