File: rules

package info (click to toggle)
golang-github-insomniacslk-dhcp 0.0~git20200621.d74cd86-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,132 kB
  • sloc: makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 577 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 := examples netboot async nclient4 nclient6

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

override_dh_auto_configure:
	dh_auto_configure
	mkdir -p _build/src/github.com/insomniacslk/dhcp/vendor/github.com/u-root/
	cp -vr -t _build/src/github.com/insomniacslk/dhcp/vendor/github.com/u-root/ debian/u-root
	# following tests need nclient4 and nclient6
	rm -vf _build/src/github.com/insomniacslk/dhcp/dhcpv4/server4/server_test.go
	rm -vf _build/src/github.com/insomniacslk/dhcp/dhcpv6/server6/server_test.go