File: rules

package info (click to toggle)
golang-github-insomniacslk-dhcp 0.0~git20220915.043f172-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,168 kB
  • sloc: makefile: 6
file content (12 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

# async needs github.com/fanliao/go-promise
export DH_GOLANG_EXCLUDES := examples async

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

execute_after_dh_auto_configure:
	# following tests need github.com/hugelgupf/socketpair which is not packaged.
	rm -vf $(addprefix _build/src/github.com/insomniacslk/dhcp/,\
		dhcpv4/nclient4/lease_test.go dhcpv4/nclient4/client_test.go dhcpv6/nclient6/client_test.go)