Skip to content

Instantly share code, notes, and snippets.

@mgwilliams
Created September 18, 2013 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgwilliams/2f0ef3d6e76d6760d9ec to your computer and use it in GitHub Desktop.
Save mgwilliams/2f0ef3d6e76d6760d9ec to your computer and use it in GitHub Desktop.
binary-arch: clean
dh_prep
dh_installdirs
cd $(GOPATH)/src && find * -name '*.go' -exec dirname {} \; | xargs -n1 go install
mkdir -p $(PKGDIR)/usr/bin
cp $(GOPATH)/bin/* $(PKGDIR)/usr/bin/
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_installinit
dh_gencontrol
dh_md5sums
dh_builddeb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment