File: rules

package info (click to toggle)
golang-github-chai2010-gettext-go 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,304 kB
  • sloc: makefile: 29
file content (16 lines) | stat: -rwxr-xr-x 427 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

# needed by tests
export DH_GOLANG_INSTALL_EXTRA := examples/locale.zip examples/locale
export DH_GOLANG_EXCLUDES := cmd

%:
	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