File: rules

package info (click to toggle)
golang-github-docopt-docopt-go 0.6.2%2Bgit20160216.0.784ddc5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 220 kB
  • ctags: 180
  • sloc: makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 579 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DH_GOPKG := github.com/docopt/docopt-go

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


override_dh_install:
	rm -rf debian/golang-github-docopt-docopt-go-dev/usr/bin
	rm -rf debian/golang-github-docopt-docopt-go-dev/usr/share/gocode/src/github.com/docopt/docopt-go/examples
	rm -rf debian/golang-github-docopt-docopt-go-dev/usr/share/gocode/src/github.com/docopt/docopt-go/docopt_test.go
	rm -rf debian/golang-github-docopt-docopt-go-dev/usr/share/gocode/src/github.com/docopt/docopt-go/example_test.go
	dh_install

override_dh_auto_test:
	go test -v