#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk %: dh $@ --buildsystem=golang --with=golang override_dh_auto_build: dh_auto_build --buildsystem=golang -- -ldflags "-X main.version=$(DEB_VERSION)" override_dh_auto_test: cp -a testdata obj-$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)/src/$(shell sed -n "s/^XS-Go-Import-Path: \(.*\)/\1/p" debian/control)/. dh_auto_test --buildsystem=golang