mirror of
https://github.com/raspberrypi/rpi-eeprom.git
synced 2026-01-21 06:13:33 +08:00
29 lines
806 B
Makefile
Executable File
29 lines
806 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
#export DH_VERBOSE = 1
|
|
|
|
include /usr/share/dpkg/pkg-info.mk
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_installsystemd:
|
|
dh_installsystemd --name=rpi-eeprom-update
|
|
|
|
override_dh_auto_build: debian/rpi-eeprom-update.1 debian/rpi-eeprom-config.1
|
|
|
|
override_dh_install:
|
|
mkdir -p debian/rpi-eeprom/var/lib/raspberrypi/bootloader/backup/
|
|
dh_install
|
|
|
|
debian/rpi-eeprom-update.1:
|
|
help2man -N --version-string="${DEB_VERSION_UPSTREAM}" --help-option="-h" \
|
|
--name="Checks whether the Raspberry Pi bootloader EEPROM is \
|
|
up-to-date and updates the EEPROM" \
|
|
--output=$@ ./rpi-eeprom-update
|
|
|
|
debian/rpi-eeprom-config.1:
|
|
help2man -N --version-string="${DEB_VERSION_UPSTREAM}" --help-option="-h" \
|
|
--name="Extracts and updates Raspberry Pi bootloader EEPROM \
|
|
configuration" \
|
|
--output=$@ ./rpi-eeprom-config
|