File: rules

package info (click to toggle)
golang-github-mendersoftware-mender-artifact 3.9.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 4,212 kB
  • sloc: sh: 128; makefile: 128
file content (17 lines) | stat: -rwxr-xr-x 451 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

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

#export DH_VERBOSE := 1
export DH_GOLANG_INSTALL_EXTRA := cli/mender_test.img \
	cli/mender_test.sdimg \
	cli/mender_test.sparse.sdimg \
	cli/mender_test.img.broken \
	cli/mender_test_fat.sdimg

%:
	dh $@ --buildsystem=golang --with=golang
	
override_dh_auto_build:
	dh_auto_build -O--buildsystem=golang -- \
		-ldflags "-X github.com/mendersoftware/mender-artifact/cli.Version=$(DEB_VERSION)"