Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # needed by tests
4 export DH_GOLANG_INSTALL_EXTRA := examples/locale.zip examples/locale
5 export DH_GOLANG_EXCLUDES := cmd
6
7 %:
8 dh $@ --builddirectory=_build --buildsystem=golang --with=golang
9
10 override_dh_auto_configure:
11 dh_auto_configure
12 rm -v _build/src/github.com/chai2010/gettext-go/examples/hello.go
13
14 override_dh_strip_nondeterminism:
15 # ignore testdata
16 dh_strip_nondeterminism -Xexamples -Xtestdata