#!/usr/bin/make -f

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

# Binary files produced are from tests
execute_after_dh_auto_install:
	rm -r $(CURDIR)/debian/$(shell dh_listpackages)/usr/bin

# On riscv64, the test "FuzzPasswordStrength/882b7289606381d2"
# gets cancelled after a 10 minute timeout, resulting in a panic.
override_dh_auto_test:
	dh_auto_test -- -timeout=30m
