File: rules

package info (click to toggle)
delve 1.24.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,092 kB
  • sloc: ansic: 111,943; sh: 169; asm: 141; makefile: 43; python: 23
file content (23 lines) | stat: -rwxr-xr-x 621 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
23
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := \
	pkg/dwarf/line/_testdata _fixtures
export DH_GOLANG_EXCLUDES := _fixtures service/dap/daptest/gen
export MAN_OUTPUT := $(CURDIR)/debian/

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

override_dh_auto_install:
	dh_auto_install -- --no-source

override_dh_auto_build:
	DH_GOLANG_GO_GENERATE=1 \
	DH_GOLANG_BUILDPKG=" \
		github.com/go-delve/delve/pkg/proc/internal/ebpf \
		github.com/go-delve/delve/cmd/dlv" \
	dh_auto_build
	dh_auto_build -- -tags exp.linuxppc64le,exp.linuxriscv64

override_dh_auto_test:
	dh_auto_test -- -tags exp.linuxppc64le,exp.linuxriscv64