You can find a few examples using
https://codesearch.debian.net/search?q=path%3Adebian%2Frules+tag+path%3Agolang,
e.g.
https://sources.debian.org/src/golang-golang-x-sys/0.0~git20181228.9a3f9b0-1/debian/rules/?hl=40#L40

In general, I would encourage you to nudge upstream to make the default
behavior sensitive and only require build tags for unusual setups.

Also, please feel free to send documentation improvement pull requests :)

On Fri, Feb 15, 2019 at 1:12 PM Reinhard Tartler <[email protected]> wrote:

> Hi,
>
> I may be missing something obvious, but I'm looking for a way to set build
> tags in debian/rules.
>
> While working on the github.com/containers/image library, upstream has
> advised me to avoid some dependencies by setting build tags. After reading
> the Debian::Debhelper::Buildsystem::golang perldoc it is not clear to me
> how to achieve this. (BTW, I would have expected lots of the information
> found in that perldoc to in the manpage dh_golang(1p).
>
> Has this been done in other packages before where I could take inspiration
> from?
>
> Thanks!
>
> --
> regards,
>     Reinhard
>


-- 
Best regards,
Michael

Reply via email to