#!/usr/bin/make -f

include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --without autoreconf -S meson

override_dh_auto_configure:
	dh_auto_configure -- -Dpython-bindings=enabled -Dpython-numpy-bindings=enabled

override_dh_auto_install:
	dh_auto_install
	find debian/tmp/ -name xraydoc.txt -delete || true
	find debian/tmp -name libxrl.la -delete || true
