There was a discussion on the pkg-go mailing list titled “honoring DH_GOLANG_EXCLUDES for sources” a while ago, started by Clément (cc'ed).
On Sun, Jul 22, 2018 at 1:58 PM, Shengjing Zhu <i...@zhsj.me> wrote: > Package: dh-golang > Severity: wishlist > > Dear Maintainer, > > In install phase, dh-golang just calls `cp -r -T src/$ENV{DH_GOPKG} > $dest_src`, > which installs DH_GOLANG_EXCLUDES files to /usr/share/gocode/src/. > > Shouldn't these files not be installed as well? > > A real example is, paride asked on irc that why golang-github-prometheus- > client-golang > installs `examples` files twice in -dev package, (once installed by > dh-golang, > once installed by dh_installexamples). > > -- > Best regards, > Shengjing Zhu > > _______________________________________________ > Pkg-go-maintainers mailing list > pkg-go-maintain...@alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/ > pkg-go-maintainers -- Best regards, Michael