Also package Ironic's install-guide.
Change-Id: Id57fc28ff7fba9380b6a3c087a13848eda69c27c
This commit is contained in:
parent
8bd6eed0de
commit
c87558c499
|
@ -5,5 +5,5 @@ Abstract: Sphinx documentation for Ironic
|
|||
Section: Programming/Python
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/ironic-doc/html/index.html
|
||||
Files: /usr/share/doc/ironic-doc/html/*
|
||||
Index: /usr/share/doc/ironic-doc/dev-doc-html/index.html
|
||||
Files: /usr/share/doc/ironic-doc/dev-doc-html/* /usr/share/doc/ironic-doc/install-guide-html
|
||||
|
|
|
@ -60,9 +60,14 @@ endif
|
|||
|
||||
override_dh_sphinxdoc:
|
||||
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
|
||||
PYTHONPATH=$(CURDIR) sphinx-build -a -b html doc/source $(CURDIR)/debian/ironic-doc/usr/share/doc/ironic-doc/html
|
||||
PYTHONPATH=$(CURDIR) sphinx-build -a -b html doc/source $(CURDIR)/debian/ironic-doc/usr/share/doc/ironic-doc/dev-doc-html
|
||||
## This is a workaround to avoid FTBFS, though a real fix should be found.
|
||||
mkdir -p $(CURDIR)/debian/ironic-doc/usr/share/doc/ironic-doc/html/_static
|
||||
touch $(CURDIR)/debian/ironic-doc/usr/share/doc/ironic-doc/html/_static/toggle.js
|
||||
mkdir -p $(CURDIR)/debian/ironic-doc/usr/share/doc/ironic-doc/dev-doc-html/_static
|
||||
touch $(CURDIR)/debian/ironic-doc/usr/share/doc/ironic-doc/dev-doc-html/_static/toggle.js
|
||||
rm $(CURDIR)/debian/ironic-doc/usr/share/doc/ironic-doc/dev-doc-html/search.html
|
||||
|
||||
PYTHONPATH=$(CURDIR) sphinx-build -a -b html install-guide/source $(CURDIR)/debian/ironic-doc/usr/share/doc/ironic-doc/install-guide-html
|
||||
rm $(CURDIR)/debian/ironic-doc/usr/share/doc/ironic-doc/install-guide-html/search.html
|
||||
|
||||
dh_sphinxdoc -O--buildsystem=python_distutils
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue