2 # See debhelper(7) (uncomment to enable)
3 # output every command that modifies files on the build system.
6 # Enable hardening features for daemons
7 export DEB_BUILD_MAINT_OPTIONS
=hardening
=+bindnow
,+pie
8 # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
9 DPKG_EXPORT_BUILDFLAGS
= 1
10 include /usr
/share
/dpkg
/default.mk
12 # for atomic support on powerpc (automatic on mipsel)
18 override_dh_auto_clean
:
22 override_dh_auto_configure
:
24 --host
=$(DEB_HOST_GNU_TYPE
) \
25 --build
=$(DEB_BUILD_GNU_TYPE
) \
27 --sysconfdir
=/etc
/dnsdist \
28 --mandir=\
$${prefix}/share
/man \
29 --infodir=\
$${prefix}/share
/info \
30 --libdir='$${prefix}/lib/$(DEB_HOST_MULTIARCH)' \
31 --libexecdir
='$${prefix}/lib' \
36 --enable-dns-over-tls \
42 override_dh_auto_build-arch
:
45 override_dh_installexamples
:
46 cp dnsdistconf.lua dnsdist.conf
51 dh_strip
--dbg-package
=dnsdist-dbg