#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

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

execute_after_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

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