#!/usr/bin/make -f
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2026 Free Mobile -- Vincent Jardin

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
TESTS = false
else
TESTS = true
endif

%:
	dh $@ --buildsystem=meson

override_dh_auto_configure:
	dh_auto_configure -- -Dtests=$(TESTS)
