Pass version from d/rules (Closes: #968585)
Sébastien Delafond
3 years ago
2 | 2 | |
3 | 3 | # Uncomment this to turn on verbose mode. |
4 | 4 | #export DH_VERBOSE=1 |
5 | ||
6 | include /usr/share/dpkg/pkg-info.mk | |
5 | 7 | |
6 | 8 | override_dh_auto_test: |
7 | 9 | # tests are failing for now and the pacakge vendors many libraries |
9 | 11 | override_dh_auto_install: |
10 | 12 | dh_auto_install -- --no-source |
11 | 13 | |
14 | override_dh_auto_build: | |
15 | dh_auto_build -- -ldflags "-X main.Version=$(DEB_VERSION)" | |
16 | ||
12 | 17 | %: |
13 | 18 | dh $@ --buildsystem=golang --with=golang,bash-completion |