#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_HOST_MULTIARCH
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with python3 --with numpy3

override_dh_auto_configure:
	dh_auto_configure -- -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) -DCMAKE_BUILD_TYPE="Release"

# override_dh_install:
#	rm -rf debian/tmp/usr/lib/python3/dist-packages/gnuradio/iqbalance/*.pyc
#	rm -rf debian/tmp/usr/lib/python3/dist-packages/gnuradio/iqbalance/*.pyo
#	dh_install
