diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-05-19 22:35:05 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-05-19 22:35:05 +0200 |
commit | 5c7bd142f5049a8303dd2f7cc0753141c12d70d3 (patch) | |
tree | a3439b33fb540c2c23577ccb1e0eb116930767df /debian/rules | |
parent | added missing build dep (diff) |
fix build
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 13 |
1 files changed, 4 insertions, 9 deletions
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/ |