File: rules

package info (click to toggle)
golang-github-soniah-gosnmp 1.16-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 356 kB
  • sloc: sh: 16; makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 400 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_EXCLUDES := github.com/soniah/gosnmp/examples

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

override_dh_auto_install:
	dh_auto_install
	rm -rfv debian/golang-github-soniah-gosnmp-dev/usr/share/gocode/src/github.com/soniah/gosnmp/examples

override_dh_auto_test:
	# end2end test requires an actual SNMP-enabled host
	dh_auto_test -- -tags="api marshal misc trap"