<div dir="ltr">Instead of adding this via a new setting, why not make dh-golang install these files by default?<div><br></div><div>I think installing everything one can legitimately call program source code is fair game. The tricky part is identifying files which are necessary for test cases.</div><div><br></div><div>The reason why dh-golang doesn’t just install all files is because that might generate lintian warnings about extra LICENSE files, extra README files not being marked as docs, random non-executable shell scripts, etc.</div><div><br></div><div>That said, I’m not very happy with the current need to specify the install_all option in many cases, and any improvements over that (using more introspection? using a blacklist instead of a whitelist?) are very welcome.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 29, 2015 at 10:53 PM, Alexandre Viau <span dir="ltr"><<a href="mailto:alexandre@alexandreviau.net" target="_blank">alexandre@alexandreviau.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
This is new dh-golang feature should allow to include more files to the<br>
install in an easier way. It should be useful, for example, with cgo<br>
projects.<br>
<br>
DH_GOLANG_INSTALL_EXTRA_EXTENSIONS := .cgo,.h,.c<br>
<br>
Will include all files with .cgo, .h and .c extensions.<br>
<br>
I have had this issue (not just with cgo projects) a couple times last<br>
week so I thought this would be useful.<br>
<br>
I have never done perl before, feel free to comment on the code.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Alexandre Viau<br>
<a href="mailto:alexandre@alexandreviau.net">alexandre@alexandreviau.net</a><br>
</font></span><br>_______________________________________________<br>
Pkg-go-maintainers mailing list<br>
<a href="mailto:Pkg-go-maintainers@lists.alioth.debian.org">Pkg-go-maintainers@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Best regards,<br>Michael</div>
</div>