File: rules

package info (click to toggle)
mender-client 2.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,672 kB
  • sloc: sh: 999; makefile: 213
file content (22 lines) | stat: -rwxr-xr-x 546 bytes parent folder | download | duplicates (2)
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

include /usr/share/dpkg/pkg-info.mk

export DH_GOLANG_INSTALL_EXTRA := client/server.crt \
	client/server.expired.crt \
	client/server.unknown-authority.crt \
	installer/modules_test_helper.sh \
	system/testing/os_calls_helper.sh

override_dh_auto_install:
	dh_auto_install -- --no-source

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

override_dh_auto_build:
	dh_auto_build -O--buildsystem=golang -- \
		-ldflags "-X github.com/mendersoftware/mender/conf.Version=$(DEB_VERSION)"

override_dh_auto_test:
	dh_auto_test || true