1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# To enable all, uncomment following line
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -g -pipe $(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),-O0,-O2)
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,--as-needed
%:
dh $@ --with autoreconf,systemd,python2
override_dh_auto_configure:
dh_auto_configure -- \
--libexecdir=/usr/lib/dnssec-trigger \
--with-ssl \
--with-hooks=networkmanager \
--with-gui=gtk \
--with-unitdir=/lib/systemd/system \
--with-rundir=/run \
--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
|