Hi Nicholas!

On Sun, Aug 11, 2019 at 06:46:15PM -0400, Nicholas D Steeves wrote:
> > Therefore I am reassigning this bug to debhelper. I am also merging it
> > with #836699 because if the proposed idea [1] for fixing it is implemented,
> > you will be able to control activation of dh_sphinxdoc using only build
> > dependencies.
> >
> > [1]: 
> > https://nthykier.wordpress.com/2018/03/04/prototyping-a-new-packaging-papercut-fix-dry-debhelper-compat-level/
>
> Dear debhelper maintainers, RFC please?

The idea mentioned in the bottom of that post was implemented, *however*
it did not make the situation better. As dh(1) says:

| A Build-Depends relation on the package dh-sequence-addon implies a --with
| addon. [...] Build-Depends-Indep and Build-Depends-Arch are deliberately
| unsupported.

So for now your options are:

1) Running dh_sphinxdoc manually (e.g. in override_dh_installdocs).
2) Build-Depending on sphinx-common so that dh_sphinxdoc is always available.
3) Using tricks like https://bugs.debian.org/836699#12.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to