File: rules

package info (click to toggle)
golang-github-docopt-docopt-go 0.6.2%2Bgit20180111.ee0de3b-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 284 kB
  • sloc: makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 610 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_GOPKG := github.com/docopt/docopt-go
export DH_GOLANG_INSTALL_EXTRA := $(shell find . -name '*.docopt')

%:
	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