#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@ --with python3

override_dh_auto_build:
	dh_auto_build
	dh_auto_build --buildsystem=pybuild --sourcedirectory=sage-brial

override_dh_auto_clean:
	dh_auto_clean
	dh_auto_clean --buildsystem=pybuild --sourcedirectory=sage-brial

override_dh_auto_configure:
	dh_auto_configure -- --disable-static
	dh_auto_configure --buildsystem=pybuild --sourcedirectory=sage-brial

override_dh_auto_install:
	dh_auto_install
	dh_auto_install --buildsystem=pybuild --sourcedirectory=sage-brial
	find debian/ -name "*.la" -delete

override_dh_auto_test:
	dh_auto_test
