On 2024-03-13 Niels Thykier <ni...@thykier.net> wrote: > 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? >> Because for this specific case I need to handle files outside of >> /usr/share/doc/$package. > 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. Hello, would you mind documenting that? I accept that is your choice to make that design but I ended up spending quite some time on debugging things that afaict (from reading debhelper(7) should have worked. Could you please untag this wontfix and document it? > 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`). "dh_install foo bar" was my "second try" in the bugreport (more details there) but that broke dh_missing in the --build=any case. cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'
signature.asc
Description: PGP signature