linux-firmware/debian/rules
Ward from fusion-voyager-3 864825903f fix pika target detection
2024-07-26 22:39:46 +03:00

29 lines
692 B
Makefile
Executable File

#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch)
dest_dir = $(CURDIR)/debian/linux-firmware
firmware_dir = $(dest_dir)/lib/firmware
license_dir = $(dest_dir)/usr/share/doc/linux-firmware/licenses
%:
dh $@
override_dh_install:
dh_install
# Everything is installed, so remove unwanted firmware and licences
# and check for any dangling symlinks
debian/scripts/remove-firmware $(firmware_dir)
debian/scripts/remove-firmware $(license_dir)
debian/scripts/check-symlinks $(dest_dir)
override_dh_clean:
dh_clean
override_dh_auto_build:
override_dh_auto_test:
override_dh_strip_nondeterminism: