File: rules

package info (click to toggle)
golang-github-hashicorp-go-discover 0.0%2Bgit20190905.34a6505-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 476 kB
  • sloc: makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DH_GOLANG_GO_GENERATE := 1
export DH_GOLANG_EXCLUDES := provider/k8s provider/scaleway provider/softlayer provider/triton provider/vsphere provider/linode provider/azure

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

override_dh_auto_test:
	DH_GOLANG_EXCLUDES="$${DH_GOLANG_EXCLUDES} provider/mdns" \
	dh_auto_test

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp