Debian Codegraph @

debian/rules

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