File: rules

package info (click to toggle)
golang-github-google-nftables 0.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 724 kB
  • sloc: makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 326 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

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

# https://github.com/google/nftables/issues/210
override_dh_auto_test:
ifeq ($(DEB_HOST_ARCH_ENDIAN),little)
	# little-endian arch: test suite must succeed
	dh_auto_test
else
	# big-endian arch: test suite may fail
	-dh_auto_test
endif