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

%:
	dh $@ --with=systemd

override_dh_shlibdeps:
	dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog.md

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

override_dh_installinit:
	dh_systemd_enable
	dh_installinit
	dh_systemd_start --no-restart-on-upgrade
