1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
%:
dh $@ --builddirectory=debian/_build --buildsystem=golang
# Hack around that we don't include the TPM simulator because it
# doesn't work on ppc64el/s390x.
execute_after_dh_auto_build:
rm -fv debian/_build/src/github.com/foxboron/age-plugin-tpm/cmd/age-plugin-tpm/main_test.go
rm -fv debian/_build/src/github.com/foxboron/age-plugin-tpm/plugin/crypto_test.go
rm -fv debian/_build/src/github.com/foxboron/age-plugin-tpm/plugin/identity_test.go
SKIP=TestPlugin
override_dh_auto_test:
dh_auto_test $(DH_BUILD_OPTS) -- -skip=$(SKIP)
-dh_auto_test $(DH_BUILD_OPTS) -- -run=$(SKIP)
override_dh_auto_install:
dh_auto_install -- --no-source
|