File: rules

package info (click to toggle)
golang-github-rainycape-unidecode 0.0~git20150906.0.c9cf8cd-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 1,152 kB
  • sloc: makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 373 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DH_GOLANG_GO_GENERATE := 1
export DH_GOLANG_INSTALL_EXTRA := table.txt

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

override_dh_auto_configure:
	dh_auto_configure
	# Don't use included table.go + install table.txt
	rm --verbose _build/src/github.com/rainycape/unidecode/table.go
	cp -v table.txt _build/src/$(DH_GOPKG)/