#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

# CMAKE_POLICY_VERSION_MINIMUM: upstream still declares
# cmake_minimum_required(VERSION 2.8.12), which CMake 4 refuses.
# SYSCONF_INSTALL_DIR: install the D-Bus system bus policy under
# /usr/share/dbus-1/system.d instead of /etc/dbus-1/system.d.
override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
		-DSYSCONF_INSTALL_DIR=/usr/share
