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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to