#!/usr/bin/make -f
# rules makefile.
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
#

#export DH_VERBOSE=1

%:
	dh $@ --with=config-package

override_dh_auto_configure:
	./configure --distribution=debian

override_dh_install:
	find systemd/ -type f -exec \
		install -Dm0644 {} $$(pwd)/debian/apparmor.d/usr/lib/systemd/system/$(basename {})/apparmor.conf \; 
	dh_install