#!/usr/bin/make -f
# export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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

override_dh_auto_configure:
	dh_auto_configure -- --with-adjtimex

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog.md

override_dh_auto_install:
	dh_auto_install
	rm -f debian/sntpd/usr/share/doc/sntpd/COPYING
	rm -f debian/sntpd/usr/share/doc/sntpd/ChangeLog.md
