On Thu, 3 Nov 2016 18:37:23 +0000 Neil Williams <codeh...@debian.org> wrote:
> reopen 836248 > found 836248 1.4.8-1 > thanks > > I came across this because I now get warnings: > dpkg-gencontrol: warning: package lava-server-doc: unused > substitution variable ${sphinxdoc:Built-Using} > > I worked out I could use this line in debian/control: > > Built-Using: python-sphinx-bootstrap-theme, ${sphinxdoc:Built-Using} > > That results in a package containing: > > Built-Using: python-sphinx-bootstrap-theme, sphinx (= 1.4.8-1) > > The problem with that is: > $ apt-cache show sphinx > N: Unable to locate package sphinx > E: No packages found > > So dh_sphinxdoc should be putting in python-sphinx (= 1.4.8-1) My mistake, it's the source package. > Also, wasn't the original intention from the bug report that I'd be > able to use it as: > > Built-Using: python-sphinx-bootstrap-theme (= > ${sphinxdoc:Built-Using}) So the line should be: Built-Using: sphinx-bootstrap-theme (= ${sphinxdoc:Built-Using}) > to generate output in the package of: > > Built-Using: python-sphinx-bootstrap-theme (= 0.4.8-1) > > or, possibly with another substvar: > > Built-Using: python-sphinx-bootstrap-theme (= 0.4.8-1), > python-sphinx (= 1.4.8-1) > > ? To generate: Built-Using: sphinx-bootstrap-theme (= 0.4.8-1), sphinx (= 1.4.8-1) > > It's the theme which adds the CSS. Having Built-Using for sphinx is > fine but the version of the theme is unrelated to the version of > sphinx. > > Finally, can we have some documentation of how to use > ${sphinxdoc:Built-Using} in man dh_sphinxdoc please? A mention in the manpage would be really useful.... -- Neil Williams ============= http://www.linux.codehelp.co.uk/
pgpL8GD95XZWh.pgp
Description: OpenPGP digital signature