#!/usr/bin/make -f UBU_SUGGESTS=debian-keyring, equivs, libgitlab-api-v4-perl, liblwp-protocol-https-perl, libsoap-lite-perl, pristine-tar ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo ubuntu),ubuntu) SUBSTVARS=-V'vendor:Suggests=$(UBU_SUGGESTS)' -V'vendor:Recommends=' else SUBSTVARS=-V'vendor:Suggests=' -V'vendor:Recommends=$(UBU_SUGGESTS)' endif export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ override_dh_gencontrol: dh_gencontrol -- $(SUBSTVARS) \ -V"devscripts:LongDesc=$$(cat README.md | awk '/^- annotate-output/,/^ exim script for sorting/' | sed -e '/^[[:space:]]*$$/d' -e 's/^/ /g')"