File: rules

package info (click to toggle)
golang-golang-x-arch 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,924 kB
  • sloc: ansic: 1,943; makefile: 42
file content (21 lines) | stat: -rwxr-xr-x 433 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
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := \
	arm64/arm64asm/inst.json \
	x86/x86asm/testdata/libmach8db.c

# We want to build only the library packages themselves, not the accompanying
# binaries.
export DH_GOLANG_EXCLUDES := \
	arm/armmap \
	arm/armspec \
	arm64/arm64gen \
	arm64/arm64spec \
	ppc64/ppc64map \
	ppc64/ppc64spec \
	x86/x86avxgen \
	x86/x86map \
	x86/x86spec

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