debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | %: |
| 4 | dh $@ --builddirectory=_build --buildsystem=golang --with=golang |
| 5 | |
| 6 | override_dh_auto_install: |
| 7 | dh_auto_install -- --no-source |
| 8 | # move plugin to correct destination |
| 9 | mkdir -p debian/golang-github-containernetworking-plugin-dnsname/usr/lib |
| 10 | mv -v debian/golang-github-containernetworking-plugin-dnsname/usr/bin \ |
| 11 | debian/golang-github-containernetworking-plugin-dnsname/usr/lib/cni |
| 12 | |
| 13 | override_dh_auto_test: |
| 14 | # tests require root |