mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-20 10:57:09 +00:00
Pass version from d/rules (Closes: #968585)
This commit is contained in:
1 parent
63bc8282a0
commit
1308c2f774
1 file changed
+5
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