File: rules

package info (click to toggle)
golang-github-landlock-lsm-go-landlock 0.0~git20250303.1544bcc-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 276 kB
  • sloc: makefile: 9
file content (12 lines) | stat: -rwxr-xr-x 289 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

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

ifeq ($(DEB_TARGET_ARCH), s390x)
override_dh_auto_test:
	mkdir -pv $(CURDIR)/debian/gotmp
	-env GOTMPDIR=$(CURDIR)/debian/gotmp TMPDIR=$(CURDIR)/debian/gotmp \
		dh_auto_test
	rm -rfv $(CURDIR)/debian/gotmp
endif