Skip to content
Snippets Groups Projects
Commit db305e75 authored by ale's avatar ale
Browse files

use godep to build the Debian package

parent e70664f6
Branches
No related tags found
No related merge requests found
autoradio (0.3.6p4) unstable; urgency=medium
* Use godep to build the package.
-- ale <ale@incal.net> Wed, 24 Dec 2014 10:07:46 +0000
autoradio (0.3.6p3) unstable; urgency=medium
* Try harder to prevent caching of redirects.
......
......@@ -31,8 +31,7 @@ override_dh_install:
export GOPATH=$$tmpdir ; unset GOBIN ; \
mkdir -p $$tmpdir/src/$(dir $(GOPKG)) ; \
ln -s $(CURDIR) $$tmpdir/src/$(GOPKG) ; \
cd $$tmpdir/src && \
go get -d -v ./$(GOPKG)/... && go install -v ./$(GOPKG)/... && \
cd $$tmpdir/src/$(GOPKG) && godep go install -v ./... && \
for bin in radiod redirectord radioctl ; do \
install -m 755 -o root -g root $$tmpdir/bin/$$bin $(DESTDIR)/usr/bin/$$bin ; \
done ; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment