From 5c7bd142f5049a8303dd2f7cc0753141c12d70d3 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 19 May 2017 22:35:05 +0200 Subject: fix build --- debian/rules | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 9ab11b4..6cd9887 100755 --- a/debian/rules +++ b/debian/rules @@ -1,15 +1,10 @@ #!/usr/bin/make -f -%: - dh $@ --with=systemd - -override_dh_clean: - dh_clean - rm -f vanity -override_dh_auto_configure: +export DH_OPTIONS +export DH_GOPKG := github.com/xiam/vanity -override_dh_auto_build: - go build -o vanity +%: + dh $@ --buildsystem=golang --with=golang --with=systemd override_dh_auto_install: install -d $$(pwd)/debian/tmp/usr/bin/ -- cgit v1.2.3