#!/usr/bin/make -f export DH_GOLANG_INSTALL_EXTRA := README.md test-data/bad-data/ test-data/test-data/ %: dh $@ --builddirectory=_build --buildsystem=golang execute_after_dh_auto_configure: # We don't want to build or install the go module in test-data cd _build/src/github.com/oschwald/maxminddb-golang/v2/test-data/ \ && rm -frv go.mod go.sum cmd/ pkg/