--- /dev/null
+Document: ceilometer-doc
+Title: Ceilometer Documentation
+Author: OpenStack
+Abstract: Sphinx documentation for Ceilometer
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/ceilometer-doc/html/index.html
+Files: /usr/share/doc/ceilometer-doc/html/*
+ceilometer (2015.1.0-4) unstable; urgency=medium
+
+ * Added a documentation package with the sphinx docs.
+
+ -- Thomas Goirand <zigo@debian.org> Thu, 04 Jun 2015 09:40:08 +0000
+
ceilometer (2015.1.0-3) unstable; urgency=medium
* Added ceilometer-polling as new package.
overall system.
.
This package contains the alarm notifier daemon.
+
+Package: ceilometer-doc
+Architecture: all
+Depends: ${misc:Depends},
+ ${sphinxdoc:Depends},
+Description: OpenStack efficient metering counters system - doc
+ Ceilometer aims to deliver a Single Point Of Contact for billing systems,
+ providing all the counters they need to establish customer billing, across
+ all current and future OpenStack components. The delivery of counters must be
+ traceable and auditable, the counters must be easily extensible to support new
+ projects, and agents doing data collections should be independent of the
+ overall system.
+ .
+ This package contains the documentation.
export OSLO_PACKAGE_VERSION=$(VERSION)
%:
- dh $@ --with python2,systemd
+ dh $@ --with python2,systemd,sphinxdoc
override_dh_clean:
dh_clean
rm -f $$TEMP_REZ ;
testr slowest
endif
+
+override_dh_sphinxdoc:
+ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
+ PYTHONPATH=. sphinx-build -b html doc/source $(CURDIR)/debian/ceilometer-doc/usr/share/doc/ceilometer-doc/html
+ mkdir -p $(CURDIR)/debian/ceilometer-doc/usr/share/doc/ceilometer-doc/html/_static
+ touch $(CURDIR)/debian/ceilometer-doc/usr/share/doc/ceilometer-doc/html/_static/toggle.js
+ dh_sphinxdoc -O--buildsystem=python_distutils
+endif