File: rules

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

# Include needed test files
export DH_GOLANG_INSTALL_EXTRA := _examples/de_DE.utf8/LC_MESSAGES/example.mo _examples/es_MX.utf8/LC_MESSAGES/example.mo

# Don't build binary
export DH_GOLANG_EXCLUDES := go-xgettext

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

override_dh_auto_test:
	LC_ALL=en_US.utf8 dh_auto_test -O--builddirectory=_build -O--buildsystem=golang