File: rules

package info (click to toggle)
golang-github-hashicorp-atlas-go 0.0~git20151216.84.b66e377-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 496 kB
  • ctags: 217
  • sloc: sh: 262; makefile: 23
file content (15 lines) | stat: -rwxr-xr-x 511 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
#export DH_VERBOSE=1

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

override_dh_auto_configure:
	dh_auto_configure
	# Include tests files
	cp -rv $(CURDIR)/archive/test-fixtures _build/src/github.com/hashicorp/atlas-go/archive/test-fixtures
	cp -rv $(CURDIR)/archive/test-fixtures/archive-hg/.hg _build/src/github.com/hashicorp/atlas-go/archive/test-fixtures/archive-hg

override_dh_installdocs:
	pandoc -f markdown -t plain -o README README.md
	dh_installdocs README