#!/usr/bin/make -f
# SPDX-FileCopyrightText: 2022-2026 Univention GmbH
# SPDX-License-Identifier: AGPL-3.0-only

export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DH_VERBOSE=1

override_dh_auto_configure:
	cd src && autoreconf --install --force
	dh_auto_configure -- --with-pamlibdir=/lib/$(DEB_HOST_MULTIARCH)/security/

%:
	dh $@ --sourcedirectory=src
