1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
export DH_GOLANG_INSTALL_EXTRA := \
commands/config/default-client-config.yml
%:
dh $@ --builddirectory=_build --buildsystem=golang
override_dh_auto_build:
dh_auto_build $(DH_BUILD_OPTS) -- \
-ldflags "-X main.Version="$(DEB_VERSION_UPSTREAM)
# https://github.com/openpubkey/opkssh/issues/434
override_dh_auto_test:
dh_auto_test $(DH_BUILD_OPTS) -- -skip=TestDetermineProvider
-dh_auto_test $(DH_BUILD_OPTS) -- -run=TestDetermineProvider
|