File: rules

package info (click to toggle)
skopeo 1.9.3%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,968 kB
  • sloc: sh: 729; makefile: 175; perl: 156
file content (22 lines) | stat: -rwxr-xr-x 598 bytes parent folder | download | duplicates (3)
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