File: rules

package info (click to toggle)
golang-github-notaryproject-notation-go 1.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,740 kB
  • sloc: makefile: 26
file content (15 lines) | stat: -rwxr-xr-x 406 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

BUILD_DIR := _build/src/github.com/notaryproject/notation-go

export DH_GOLANG_INSTALL_EXTRA := $(wildcard config/testdata/*/*.json)

%:
	dh $@ --builddirectory=_build --buildsystem=golang

execute_after_dh_auto_test:
	rm -rfv $(BUILD_DIR)/tmp/

# executable-not-elf-or-script
execute_before_dh_auto_install:
	chmod -v -x $(CURDIR)/$(BUILD_DIR)/plugin/testdata/plugins/foo/notation-foo