#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-log-dir=/var/log/partimage \
		--with-debug-level=1 \
		--enable-pam

override_dh_installsystemd:
	dh_installsystemd -ppartimage-server --name=partimaged

override_dh_installpam:
	dh_installpam -ppartimage-server --name=partimaged
