#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

export PYBUILD_NAME=libtiff
export PYBUILD_DISABLE=test

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

override_dh_python2:
	dh_python2
	dh_numpy

override_dh_python3:
	dh_python3
	dh_numpy3

override_dh_auto_install:
	dh_auto_install

	$(RM) debian/*/usr/lib/python*/dist-packages/libtiff/LICENSE

get-orig-source:
	./debian/get-orig-source
