#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --with autoreconf --with systemd

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-ssl \
		--with-hooks=networkmanager \
		--with-gui=gtk \
		--with-keydir=/etc/dnssec-trigger \
		--with-pidfile=/run/dnssec-triggerd.pid \
		--with-unbound-control=/usr/sbin/unbound-control

override_dh_auto_install:
	dh_auto_install
	find $(CURDIR) -type d -empty -delete

override_dh_installinit:
	dh_installinit --name=dnssec-triggerd
