File: rules

package info (click to toggle)
golang-github-yosssi-ace-proxy 0.0~git20141007.0.ecd9b78-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 72 kB
  • ctags: 12
  • sloc: makefile: 8
file content (12 lines) | stat: -rwxr-xr-x 322 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

builddir := $(CURDIR)/obj-$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DH_GOPKG := github.com/yosssi/ace-proxy

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

override_dh_auto_test:
	cp -a test $(builddir)/src/$(DH_GOPKG)/
	dh_auto_test -O--buildsystem=golang
	rm -rf $(builddir)/src/$(DH_GOPKG)/test