Hi!

Michael, thank you very much for your reply! override_dh_auto_install 
feature does helped eliminate Go sources from the final .deb archive.

As for dh-golang not being for the end users -- do you know any 
alternatives which are more suited for the end users for building .deb 
packages?

On Sunday, March 5, 2017 at 10:34:05 PM UTC+3, Michael Stapelberg wrote:
>
> dh-golang is not maintained by the Go team, so a better place to get 
> support is the pkg-go-maintainers mailing list.
>
> 1. No, and given dh-golang’s scope, this won’t be added (it’s a tool for 
> Debian development, not for end users).
> 2. No. Currently, we delete the source from binary-only packages, e.g. in 
> an override_dh_auto_install Makefile target. This might be changed in the 
> future.
>
> On Sun, Mar 5, 2017 at 3:36 PM, <k...@sigterm.ru <javascript:>> wrote:
>
>> Hello!
>>
>> I am trying to learn how to use debhelper infrastructure to build Debian 
>> packages from Go code. I've install dh-golang and Go itself from 
>> jessie-backports and all seems to work quite well. But I'd like to change 
>> two things which don't fit well enough in my workflow.
>>
>> 1. Is there a way to tell dh-golang to use different from the default 
>> /usr installation prefix? I'd like to store everything under /opt directory.
>> 2. Is there a way to tell dh-golang (or may be dh itself?) not to include 
>> my Go source code into generated .deb package? I only want to distribute 
>> compiled binaries and no source code.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to golang-nuts...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to