#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export PYBUILD_NAME=igraph

## see README.md for furhter information (2023/09/18)
export IGRAPH_USE_PKG_CONFIG=1

# Work around #920337. This is a temporary fix addressing a bug
# in python3-stdlib-extensions, should be removed as soon as it
# has been addressed there.
export PYBUILD_INSTALL_ARGS_python3 := \
  --install-headers=/usr/include/python{version}m

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

## eos
