Niels Thykier:
[...] Hi,Thanks for filing this bug report.I think this will end up being ratified as the correct behavior with a documentation change to better support it. What `dh-sequence-single- binary` does is to add `--destdir=debian/${PACKAGE}` to the `dh_auto_install` parameters as the way to implement the default.The moment you override `dh_auto_install` that extra option is discarded and there is no good way to keep the "implicit" defaults (the override is intended to be a reset; do what is necessary).Let me think about this a bit more... Best regards, Niels
I had a look at it and I am leaning towards https://salsa.debian.org/debian/debhelper/-/merge_requests/131 as a possible solution.
The idea here being that you would be able to use:
override_dh_auto_install:
$(DH_OVERRIDDEN_COMMAND) -- <extra params>
with $(DH_OVERRIDDEN_COMMAND) preserving the --destdir parameter from
the add-on. With the plain `dh_auto_install` (instead of
`$(DH_OVERRIDDEN_COMMAND)`) for the case where you need to override the
implicit options too.
Feedback welcome Best regards, Niels
OpenPGP_signature.asc
Description: OpenPGP digital signature

