I am happy to move towards what Nicolas and Maytham recommends: Repackage including the other module that lives in the same upstream repo.
I would like to hear, Simon, what you think before putting my hands on the keyboard again. It should not be a big change. Thanks, Juan Sent from Proton Mail for Android. -------- Original Message -------- On Tuesday, 05/12/26 at 16:55 Maytham Alsudany <[email protected]> wrote: Hi, Only a simple repack using Files-Excluded should be done to remove the unneeded directories, without needing to use Files-Included or a custom watch/repack script. The text files like LICENSE don't need to and shouldn't be touched. On Tue, 2026-05-12 at 15:10 +0200, Nicolas Peugnet wrote: > The only issue is that dh-make-golang won't be as helpful as before, as > it does not handle very well repositories with multiple modules inside. It should work fine to adapt d/rules for this. All that needs to happen is to override dh_auto_{build,test,install} to run them twice with different DH_GOPKG vars, and some fiddling with override_dh_auto_config to copy the directories to the correct location inside the builddir. -- Maytham
publickey - [email protected] - 0xE697CF1F.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
