File: rules

package info (click to toggle)
golang-gopkg-neurosnap-sentences.v1 1.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 19,812 kB
  • ctags: 182
  • sloc: makefile: 80; python: 17
file content (15 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)

# Include test fixtures
export DH_GOLANG_INSTALL_EXTRA := data test_files

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

override_dh_auto_configure:
	mkdir -p obj-$(DEB_HOST_GNU_TYPE)/src/github.com/neurosnap
	ln -s ../../gopkg.in/neurosnap/sentences.v1 \
		obj-$(DEB_HOST_GNU_TYPE)/src/github.com/neurosnap/sentences
	dh_auto_configure -O--buildsystem=golang