File: rules

package info (click to toggle)
golang-sourcehut-sircmpwn-go-bare 0.0~git20210406.ab86bc2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 268 kB
  • sloc: makefile: 5
file content (12 lines) | stat: -rwxr-xr-x 298 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

# Don't build the examples.
export DH_GOLANG_EXCLUDES := example/

%:
	dh $@ --builddirectory=_build --buildsystem=golang

# Don't include the `gen` command in the binary package. It's only used
# via `go run` syntax.
override_dh_auto_install:
	dh_auto_install -- --no-binaries