#!/usr/bin/make -f include /usr/share/dpkg/default.mk BINARY = systemd-bootx64.efi INSTALLED = usr/lib/systemd/boot/efi/$(BINARY) SIGNATURE = debian/signatures/systemd-boot-efi/$(INSTALLED).sig %: dh $@ override_dh_auto_install: if [ -f /$(INSTALLED) ]; then \ cp /$(INSTALLED) $(BINARY); \ sbattach --attach $(SIGNATURE) $(BINARY); \ install -D $(BINARY) debian/tmp/$(INSTALLED).signed; \ fi override_dh_gencontrol: dh_gencontrol -- -v257.3-1