| 1 |
|
| 2 |
|
| 3 |
include /usr/share/dpkg/pkg-info.mk |
| 4 |
|
| 5 |
export DH_GOLANG_INSTALL_EXTRAscip-debian debian golang-github-mmcloughlin-avo 0.6.0-1 golang-github-mmcloughlin-avo/rules/DH_GOLANG_INSTALL_EXTRA. := \ |
| 6 |
internal/cmd/docgen/templates \ |
| 7 |
internal/data \ |
| 8 |
tests/thirdparty/suite.json |
| 9 |
|
| 10 |
export DH_GOLANG_EXCLUDESscip-debian debian golang-github-mmcloughlin-avo 0.6.0-1 golang-github-mmcloughlin-avo/rules/DH_GOLANG_EXCLUDES. := \ |
| 11 |
examples \ |
| 12 |
internal/cmd |
| 13 |
|
| 14 |
ifeq ($(filterscip-debian debian golang-github-mmcloughlin-avo 0.6.0-1 golang-github-mmcloughlin-avo/rules/filter. $(DEB_HOST_ARCHscip-debian debian golang-github-mmcloughlin-avo 0.6.0-1 golang-github-mmcloughlin-avo/rules/DEB_HOST_ARCH.), amd64),) |
| 15 |
export DH_GOLANG_EXCLUDESscip-debian debian golang-github-mmcloughlin-avo 0.6.0-1 golang-github-mmcloughlin-avo/rules/DH_GOLANG_EXCLUDES. += tests |
| 16 |
endif |
| 17 |
|
| 18 |
%scip-debian debian golang-github-mmcloughlin-avo 0.6.0-1 golang-github-mmcloughlin-avo/rules/`%`().: |
| 19 |
dh $@ --buildsystem=golang --builddirectory=_build |
| 20 |
|
| 21 |
execute_after_dh_auto_configurescip-debian debian golang-github-mmcloughlin-avo 0.6.0-1 golang-github-mmcloughlin-avo/rules/execute_after_dh_auto_configure().: |
| 22 |
|
| 23 |
find _build/src/github.com/mmcloughlin/avo/ -name testdata -type l -delete -print |
| 24 |
cp -avT ./internal/data _build/src/github.com/mmcloughlin/avo/internal/load/testdata |
| 25 |
cp -avT ./internal/data _build/src/github.com/mmcloughlin/avo/internal/opcodescsv/testdata |
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
buildscip-debian debian golang-github-mmcloughlin-avo 0.6.0-1 golang-github-mmcloughlin-avo/rules/build().: |
| 31 |
dh build --buildsystem=golang --builddirectory=_build |
| 32 |
|
| 33 |
.PHONYscip-debian debian golang-github-mmcloughlin-avo 0.6.0-1 golang-github-mmcloughlin-avo/rules/`.PHONY`().: build |