#!/usr/bin/make -f

# Debian hardening (compile+link flags) for the module DSO.
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@ --buildsystem=cmake --without autoreconf --with apache2

override_dh_auto_configure:
	dh_auto_configure -- -DTOTP_ENABLE_INTEGRATION_TESTS=OFF

# No override_dh_auto_test: the default runs `ctest` (dh_auto_test on the cmake
# buildsystem). With integration OFF the registered suite is unit-only; a unit
# failure then FAILS the package build. Deliberate deviation from mod-tile's
# `dh_auto_test || echo "Ignoring test failures"`.
