File: rules

package info (click to toggle)
golang-github-ugorji-go-codec 0.0~git20151130.0.357a44b-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 1,520 kB
  • sloc: sh: 209; python: 94; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 409 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
# -*- makefile -*-

export DH_GOPKG := github.com/ugorji/go
export DH_GOLANG_INSTALL_ALL := 1

TMP = $(CURDIR)/debian/$(PACKAGE)

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

override_dh_auto_install:
	dh_auto_install
	rm -rf --verbose $(TMP)/*/usr/bin
	rm $(TMP)/*/usr/share/gocode/src/github.com/ugorji/go/LICENSE
	rm $(TMP)/*/usr/share/gocode/src/github.com/ugorji/go/codec/prebuild.sh