File: rules

package info (click to toggle)
golang-golang-x-vuln 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 4,400 kB
  • sloc: sh: 161; asm: 40; makefile: 7
file content (13 lines) | stat: -rwxr-xr-x 432 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 := cmd/govulncheck/static
export DH_GOLANG_EXCLUDES := cmd/govulncheck/integration

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

execute_after_dh_auto_configure:
	# main_test.go needs quite a few packages which are not packaged
	$(RM) -v _build/src/golang.org/x/vuln/cmd/govulncheck/main_test.go
	# No need to run lint
	$(RM) -v _build/src/golang.org/x/vuln/all_test.go