debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | BUILD_DIR := _build/src/github.com/notaryproject/notation-go |
| 4 | |
| 5 | export DH_GOLANG_INSTALL_EXTRA := $(wildcard config/testdata/*/*.json) |
| 6 | |
| 7 | %: |
| 8 | dh $@ --builddirectory=_build --buildsystem=golang |
| 9 | |
| 10 | execute_after_dh_auto_test: |
| 11 | rm -rfv $(BUILD_DIR)/tmp/ |
| 12 | |
| 13 | # executable-not-elf-or-script |
| 14 | execute_before_dh_auto_install: |
| 15 | chmod -v -x $(CURDIR)/$(BUILD_DIR)/plugin/testdata/plugins/foo/notation-foo |