rtl-sdr-blog/debian/rules
2020-02-27 00:07:47 +01:00

19 lines
541 B
Makefile
Executable File

#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_HOST_MULTIARCH
%:
dh $@ --buildsystem=cmake
override_dh_auto_configure: debian/librtlsdr0.udev
dh_auto_configure --buildsystem=cmake -- -DDETACH_KERNEL_DRIVER=ON \
-DINSTALL_UDEV_RULES=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
debian/librtlsdr0.udev: rtl-sdr.rules
cp -p rtl-sdr.rules debian/librtlsdr0.udev
override_dh_acc:
- dh_acc
- cat debian/librtlsdr-dev/usr/lib/x86_64-linux-gnu/dh-acc/librtlsdr-dev_*_report.html