Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DH_GOLANG_GO_GENERATE := 1
4 export DH_GOLANG_EXCLUDES := \
5 s2/cmd \
6 # EOL
7
8 # Ubuntu mangles png files by default, which can break the testdata.
9 export NO_PNG_PKG_MANGLE := 1
10
11 %:
12 dh $@ --builddirectory=_build
13
14 override_dh_auto_test:
15 dh_auto_test --no-parallel -- -timeout 1h -short
16
17 override_dh_auto_install:
18 dh_auto_install -- --no-binaries
19
20 override_dh_strip_nondeterminism:
21 dh_strip_nondeterminism -X/testdata/