#!/usr/bin/make -f

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

# Upstream tests are heavily environment-dependent: they expect access to
# journald, auditd, Docker/Podman/Kubernetes daemons, log files in /opt
# and read permissions on process descriptors. None of these are available
# on the buildds, so the test suite cannot run reliably in build
# environments.
override_dh_auto_test:

override_dh_auto_install:
	dh_auto_install --destdir=debian/lazyjournal -- --no-source
