From db305e75edd5a758bf169d20f561ac5da7f5b42d Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Wed, 24 Dec 2014 10:15:54 +0000 Subject: [PATCH] use godep to build the Debian package --- debian/changelog | 6 ++++++ debian/rules | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 0e68c13f..59409480 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +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. diff --git a/debian/rules b/debian/rules index 7c36673c..1eb9cf57 100755 --- a/debian/rules +++ b/debian/rules @@ -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 ; \ -- GitLab