File: rules

package info (click to toggle)
efibootmgr 17-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 364 kB
  • sloc: ansic: 2,828; makefile: 97
file content (22 lines) | stat: -rwxr-xr-x 542 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
# rules file for the efibootmgr package, requires debhelper / dh
# copyright 2012 by Bdale Garbee, GPLv2 or later

export DH_VERBOSE=1
export DH_OPTIONS=-v

EFIDIR ?= $(shell dpkg-vendor --query vendor | awk '{ print tolower($$0) }')

%:
	dh $@

override_dh_auto_build:
	dh_auto_build  -- EFIDIR=$(EFIDIR)

# upstream build installs into /usr/sbin ignoring target directory;
# since the install step is not actually needed just skip it
override_dh_auto_install:

override_dh_auto_clean:
	dh_auto_clean -- EFIDIR=$(EFIDIR)