mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-15 07:00:52 +00:00
Pass version from d/rules (Closes: #968585)
This commit is contained in:
Vendored
+5
@@ -4,11 +4,16 @@
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
include /usr/share/dpkg/pkg-info.mk
|
||||
|
||||
override_dh_auto_test:
|
||||
# tests are failing for now and the pacakge vendors many libraries
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install -- --no-source
|
||||
|
||||
override_dh_auto_build:
|
||||
dh_auto_build -- -ldflags "-X main.Version=$(DEB_VERSION)"
|
||||
|
||||
%:
|
||||
dh $@ --buildsystem=golang --with=golang,bash-completion
|
||||
|
||||
Reference in New Issue
Block a user