File: rules.in

package info (click to toggle)
grub2 2.06-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 63,180 kB
  • sloc: ansic: 410,027; asm: 16,253; sh: 9,855; cpp: 2,049; makefile: 1,552; python: 1,468; sed: 427; lex: 393; yacc: 268; awk: 79; lisp: 50; perl: 31
file content (19 lines) | stat: -rwxr-xr-x 455 bytes parent folder | download | duplicates (10)
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/@pkg_unsigned@

%:
	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 .