#!/usr/bin/make -f # Remove the version package, to avoid circular dependency. These are copied # later using dh_install. export DH_GOLANG_EXCLUDES := github.com/prometheus/common/version export DH_GOLANG_EXCLUDES_ALL := 0 %: dh $@ --buildsystem=golang # Avoid test failures due to newer crypto/x509 requirements until upstream # updates the test CA certificate. override_dh_auto_test: export GODEBUG := x509sha1=1 override_dh_auto_test: dh_auto_test