| 1 | #!/usr/bin/make -f |
| 2 | # rules file for the efibootmgr package, requires debhelper / dh |
| 3 | # copyright 2012 by Bdale Garbee, GPLv2 or later |
| 4 | |
| 5 | export DH_VERBOSE=1 |
| 6 | export DH_OPTIONS=-v |
| 7 | |
| 8 | EFIDIR ?= $(shell dpkg-vendor --query vendor | awk '{ print tolower($$0) }') |
| 9 | |
| 10 | %: |
| 11 | dh $@ |
| 12 | |
| 13 | override_dh_auto_build: |
| 14 | dh_auto_build -- EFIDIR=$(EFIDIR) |
| 15 | |
| 16 | # upstream build installs into /usr/sbin ignoring target directory; |
| 17 | # since the install step is not actually needed just skip it |
| 18 | override_dh_auto_install: |
| 19 | |
| 20 | override_dh_auto_clean: |
| 21 | dh_auto_clean -- EFIDIR=$(EFIDIR) |
| 22 |