File: rules

package info (click to toggle)
golang-gopkg-gcfg.v1 0.0~git20150907.0.0ef1a85-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 244 kB
  • ctags: 244
  • sloc: makefile: 7
file content (16 lines) | stat: -rwxr-xr-x 377 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DH_GOPKG := gopkg.in/gcfg.v1
#export DH_GOLANG_INSTALL_ALL := 1
#export DH_GOLANG_EXCLUDES :=

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

override_dh_auto_test:
	cp -rv testdata _build/src/$(DH_GOPKG)/
	dh_auto_test
	$(RM) -rv _build/src/$(DH_GOPKG)/testdata