Now packaging the manpage.

This commit is contained in:
Thomas Goirand
2014-03-16 06:49:30 +00:00
parent f6e88382ec
commit 5ac35b7001
5 changed files with 26 additions and 0 deletions

1
debian/changelog vendored
View File

@@ -1,6 +1,7 @@
python-ceilometerclient (1.0.6-2) unstable; urgency=medium
* Fixed subunit output.
* Added python-ceilometerclient man page.
-- Thomas Goirand <zigo@debian.org> Sun, 16 Mar 2014 14:29:03 +0800

View File

@@ -0,0 +1,17 @@
Description: No network access when building doc
Removes the use of sphinx.ext.intersphinx
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2014-03-16
--- python-ceilometerclient-1.0.6.orig/doc/source/conf.py
+++ python-ceilometerclient-1.0.6/doc/source/conf.py
@@ -10,7 +10,7 @@ project = 'python-ceilometerclient'
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx']
+extensions = ['sphinx.ext.autodoc']
# autodoc generation is a bit aggressive and a nuisance when doing heavy
# text edit cycles.

1
debian/patches/series vendored Normal file
View File

@@ -0,0 +1 @@
no-network-access-when-building-doc.patch

View File

@@ -0,0 +1 @@
doc/man/python-ceilometerclient.1

6
debian/rules vendored
View File

@@ -24,3 +24,9 @@ endif
override_dh_clean:
dh_clean -O--buildsystem=python_distutils
rm -rf .testrepository
rm -rf doc/man
override_dh_installman:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
sphinx-build -b man doc/source doc/man
endif