File: rules

package info (click to toggle)
golang-github-opencontainers-specs 1.0.2.41.g7413a7f-1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports, bullseye-updates
  • size: 560 kB
  • sloc: makefile: 122
file content (11 lines) | stat: -rwxr-xr-x 339 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := .tool
# Schema json is required to build crun.
export DH_GOLANG_INSTALL_EXTRA := $(shell find ./schema/ -maxdepth 1 -type f -name '*.json')

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

execute_after_dh_auto_configure:
	find _build -name validate.go -delete -print