File: rules

package info (click to toggle)
ignition 2.14.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,800 kB
  • sloc: ansic: 752; sh: 296; makefile: 42
file content (19 lines) | stat: -rwxr-xr-x 477 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

export DH_GOLANG_BUILDPKG := \
    github.com/coreos/ignition/internal \
    github.com/coreos/ignition/validate

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

override_dh_auto_install:
	dh_auto_install -- --no-source --no-binaries

override_dh_auto_build:
	dh_auto_build -- \
		-ldflags "-X 'github.com/coreos/ignition/internal/version.Raw=$(DEB_VENDOR) $(DEB_VERSION)'"

override_dh_auto_test::