linux-firmware/debian/rules

29 lines
692 B
Plaintext
Raw Normal View History

2023-02-23 21:02:13 +01:00
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
2024-07-26 21:39:46 +02:00
export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch)
2023-02-23 21:02:13 +01:00
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: