~ubuntu-branches/ubuntu/wily/golang-github-ugorji-go-codec/wily

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Alexandre Viau
  • Date: 2015-03-27 14:47:24 UTC
  • Revision ID: package-import@ubuntu.com-20150327144724-3epsg2sfxz4b6tf5
Tags: 0.0~git20150815.821cda7e-1
Initial release. (Closes: #792455)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# -*- makefile -*-
 
3
 
 
4
export DH_GOPKG := github.com/ugorji/go
 
5
export DH_GOLANG_INSTALL_ALL := 1
 
6
 
 
7
TMP = $(CURDIR)/debian/$(PACKAGE)
 
8
 
 
9
%:
 
10
        dh $@ --buildsystem=golang --with=golang
 
11
 
 
12
override_dh_auto_install:
 
13
        dh_auto_install
 
14
        rm -rf --verbose $(TMP)/*/usr/bin
 
15
        rm $(TMP)/*/usr/share/gocode/src/github.com/ugorji/go/LICENSE
 
16
        rm $(TMP)/*/usr/share/gocode/src/github.com/ugorji/go/codec/prebuild.sh