File: rules

package info (click to toggle)
golang-starlark 0.0~git20210122.f935de8-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,204 kB
  • sloc: makefile: 8
file content (17 lines) | stat: -rwxr-xr-x 477 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# File required in tests
export DH_GOLANG_INSTALL_EXTRA := starlarktest/assert.star
# We want to build only the library packages themselves, not the accompanying
# binaries.
export DH_GOLANG_EXCLUDES := cmd/

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

# Skip dh_auto_test for 32-bit systems
# Since FTBFS on reproducible builds
override_dh_auto_test:
ifeq (,$(filter armel armhf i386 mipsel hurd-i386 kfreebsd-i386,$(DEB_HOST_ARCH)))
	dh_auto_test
endif