#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_BUILD_TYPE=Release \
		-DREQUIRE_SERIALPORT=ON \
		-DENABLE_RADE=OFF \
		-DAETHER_GPU_SPECTRUM=ON \
		-DENABLE_BNR=OFF \
		-DENABLE_SPECBLEACH=OFF \
		-DENABLE_DFNR=OFF \
		-DENABLE_MQTT=OFF \		

execute_before_dh_auto_configure:
	cp --remove-destination --no-target-directory /usr/share/hamradio-files/cty.dat ./cty.dat
	convert ./docs/logo-circle.png -resize '256x256' ./docs/logo-circle.png

%:
	dh $@ --buildsystem=cmake

