File: rules

package info (click to toggle)
golang-github-schollz-closestmatch 2.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,316 kB
  • sloc: makefile: 12
file content (14 lines) | stat: -rwxr-xr-x 287 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_INSTALL_EXTRA := test

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

override_dh_fixperms:
	dh_fixperms
	find debian -name '*.go' -exec chmod -x {} +

override_dh_auto_test:
	dh_auto_test
	rm _build/src/github.com/*/*/test.txt