1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
export DH_GOPKG := github.com/bradfitz/http2
export DH_GOLANG_INSTALL_ALL := 1
%:
dh $@ --buildsystem=golang --with=golang
override_dh_auto_install:
dh_auto_install $@
rm -rf debian/golang-github-bradfitz-http2-dev/usr/share/gocode/src/github.com/bradfitz/http2/h2demo/
rm debian/golang-github-bradfitz-http2-dev/usr/share/gocode/src/github.com/bradfitz/http2/CONTRIBUTORS
rm debian/golang-github-bradfitz-http2-dev/usr/share/gocode/src/github.com/bradfitz/http2/AUTHORS
rm debian/golang-github-bradfitz-http2-dev/usr/share/gocode/src/github.com/bradfitz/http2/Dockerfile
rm debian/golang-github-bradfitz-http2-dev/usr/share/gocode/src/github.com/bradfitz/http2/HACKING
rm debian/golang-github-bradfitz-http2-dev/usr/share/gocode/src/github.com/bradfitz/http2/LICENSE
rm debian/golang-github-bradfitz-http2-dev/usr/share/gocode/src/github.com/bradfitz/http2/README
rm debian/golang-github-bradfitz-http2-dev/usr/share/gocode/src/github.com/bradfitz/http2/Makefile
rm -rf debian/golang-github-bradfitz-http2-dev/usr/share/gocode/src/github.com/bradfitz/http2/h2i/
rm -rf debian/golang-github-bradfitz-http2-dev/usr/bin
|