Best way to limit that -dev package does not have too many source files?
Hi,
In https://salsa.debian.org/go-team/packages/usql/-/merge_requests/2 I
am planning to introduce alongside the binary `usql` package also a
`golang-github-xo-usql-dev` that can be used by other Go packages to
build with this usql as a dependency.
The main change is:
override_dh_auto_install:
dh_auto_install -- --no-source
However, this ends up introducing a massive amount of unrelated files
that are not really needed for the source package in terms of what is
a build dependency.
What are the recommended techniques to limit what files go into the
source package?
Use *.install files to allowlist files?
Write a customized override_dh_auto_install ?
If I define a very long DH_GOLANG_EXCLUDES it is going to affect the
whole build, not just what files are copied into the -dev package,
right?
Reply to: