File: rules

package info (click to toggle)
skopeo 0.1.40-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 668 kB
  • sloc: sh: 633; makefile: 136
file content (22 lines) | stat: -rwxr-xr-x 598 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

# exclude the integration tests for now
#
# Without this exclude, the build fails with:
# # github.com/containers/skopeo/integration
# runtime.main_main·f: function main is undeclared in the main package
export DH_GOLANG_EXCLUDES := skopeo/integration

export DH_GOLANG_GO_GENERATE := 1
export DH_GOLANG_INSTALL_EXTRA := $(shell find . -type f -name '*.json' -or -name '*.signature' -or -name '*.gpg')


override_dh_auto_install:
	dh_auto_install -- --no-source

override_dh_installman:
	make docs
	dh_installman -pskopeo docs/*.1

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