Control: tags -1 wontfix
Andreas Metzler:
On 2024-03-10 Niels Thykier <ni...@thykier.net> wrote:
Andreas Metzler:
[...]
supporting build-profiles like nodoc with dh_install seems to cumbersome.
Any reason for not using dh_installdocs, which does `nodoc` out of the box?
Hello Niels
Because for this specific case I need to handle files outside of
/usr/share/doc/$package.
cu Andreas
Ok, thanks for clarifying.
The use of substitution is not intended as a filtering mechanism. The
go-to solution for having filtering beyond debhelper's built-in is
`dh-exec` which has architecture and build-profile filtering.
I understand that this might not be what you want. However, this is the
feature set provided. If you really want to do all this logic in
debian/rules, then you can simply do a `install foo bar` directly in the
d/rules (or a `dh_install foo bar`).
Best regards,
Niels