File: rules

package info (click to toggle)
golang-github-klauspost-compress 1.17.9%2Bds1-1~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 46,240 kB
  • sloc: asm: 23,129; sh: 72; makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 454 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DH_GOLANG_GO_GENERATE := 1
export DH_GOLANG_EXCLUDES := s2/cmd

# Ubuntu mangles png files by default, which can break the testdata.
export NO_PNG_PKG_MANGLE := 1

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

override_dh_auto_test:
	dh_auto_test --no-parallel -- -timeout 1h -short

override_dh_auto_install:
	dh_auto_install -- --no-binaries

override_dh_strip_nondeterminism:
	dh_strip_nondeterminism -X/testdata/