File: rules

package info (click to toggle)
golang-github-valyala-fasthttp 1%3A1.31.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,504 kB
  • sloc: makefile: 27
file content (20 lines) | stat: -rwxr-xr-x 402 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export DH_GOLANG_INSTALL_EXTRA := \
	README.md \
	# EOL

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

execute_after_dh_auto_install:
	# Remove binary.
	rm -rf debian/golang-github-valyala-fasthttp-dev/usr/bin

# Tests on arm-based architectures timeout.
ifeq ($(DEB_HOST_ARCH_CPU),arm)
override_dh_auto_test:
	-dh_auto_test
endif