File: rules

package info (click to toggle)
golang-github-jtacoma-uritemplates 0.0~git20151014.16.802b8e2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 148 kB
  • ctags: 39
  • sloc: makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 403 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

BUILDDIR := $(shell perl -w -MDebian::Debhelper::Buildsystem::golang -e \
        'print Debian::Debhelper::Buildsystem::golang->new()->get_builddir()')
DH_GOPKG := github.com/jtacoma/uritemplates

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

override_dh_auto_configure:
	dh_auto_configure -O--buildsystem=golang
	# Include test fixtures.
	cp -av tests $(BUILDDIR)/src/$(DH_GOPKG)/