#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
export PYBUILD_NAME = h5py

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

override_dh_auto_build-indep:
	PYTHONPATH=. http_proxy='127.0.0.1:9' \
		   sphinx-build -N -bhtml docs/ build/html

override_dh_installdocs-indep:
	dh_installdocs --indep
	dh_sphinxdoc --indep

override_dh_python2:
	dh_python2
	dh_numpy

override_dh_python3:
	dh_python3
	dh_numpy3
