File: rules

package info (click to toggle)
grub-efi-arm64-signed 1%2B2.04%2B20
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 52 kB
  • sloc: makefile: 14
file content (19 lines) | stat: -rwxr-xr-x 459 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

SIG_DIR := debian/signatures/grub-efi-arm64-bin

%:
	dh $@

override_dh_auto_install:
	set -e ; \
	find "$(SIG_DIR)" -name '*.sig' -printf '%P\n' | \
	while read sig; do \
		dst="debian/tmp/$${sig%/monolithic/*}-signed/$${sig##*/}ned" ; \
		install -m 0755 -d "$${dst%/*}" ; \
		install -m 0644 "/$${sig%.sig}" "$$dst" ; \
		sbattach --attach "$(SIG_DIR)/$$sig" "$$dst" ; \
	done

override_dh_install:
	dh_install --sourcedir=debian/tmp .