#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1

%:
	dh $@ --buildsystem=pybuild

# Not sure this is working well
# Would be nicer if upstream integrated the tests into the buildsystem
execute_after_dh_auto_test:
	cd langtable &&	python3 langtable.py
	python3 test_cases.py
	python3 main.py
