Files
rpi-eeprom/debian/rules
Serge Schneider 2321aa5d9f 7.1-1 release
2020-05-28 13:38:19 +01:00

28 lines
799 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="Bootloader EEPROM configuration tool for the Raspberry Pi 4B" \
--output=$@ ./rpi-eeprom-config