#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export USE_CYTHON=TRUE
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export PYBUILD_NAME=geotiepoints
export PYTHONPATH=$(CURDIR)

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_build:
	dh_auto_build

override_dh_auto_clean:
	dh_auto_clean
	$(RM) geotiepoints/multilinear*.so
	$(RM) -r python_geotiepoints.egg-info
	$(RM) geotiepoints/multilinear_cython.c

override_dh_python3:
	dh_python3
	dh_numpy3
