File: rules

package info (click to toggle)
golang-github-nxadm-tail 1.4.5%2Bds1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 192 kB
  • sloc: makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 360 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := README.md
export DH_GOLANG_EXCLUDES := cmd vendor

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

# Prune test artifacts left by the test suite:
override_dh_auto_install: DIR=$(CURDIR)/_build/src/github.com/nxadm/tail
override_dh_auto_install:
	rm -rf $(DIR)/.test/
	dh_auto_install