File: rules

package info (click to toggle)
golang-github-containers-dnsname 1.3.1%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 428 kB
  • sloc: makefile: 82; sh: 54
file content (14 lines) | stat: -rwxr-xr-x 454 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

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

override_dh_auto_install:
	dh_auto_install -- --no-source
	# move plugin to correct destination
	mkdir -p debian/golang-github-containernetworking-plugin-dnsname/usr/lib
	mv -v debian/golang-github-containernetworking-plugin-dnsname/usr/bin \
	      debian/golang-github-containernetworking-plugin-dnsname/usr/lib/cni

override_dh_auto_test:
	# tests require root