File: rules

package info (click to toggle)
golang-github-chai2010-gettext-go 0.0~git20191225.6b9f4b1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 3,256 kB
  • sloc: makefile: 23
file content (15 lines) | stat: -rwxr-xr-x 392 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

# needed by tests
export DH_GOLANG_INSTALL_EXTRA := examples/local.zip examples/local

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

override_dh_auto_configure:
	dh_auto_configure
	rm -v _build/src/github.com/chai2010/gettext-go/examples/hello.go

override_dh_strip_nondeterminism:
	# ignore testdata
	dh_strip_nondeterminism -Xexamples -Xtestdata