#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- \
	-DBUILD_PYTHON_INTERFACE=OFF

# If upstream uses a different toggle for Python bindings,
# try one of these instead (uncomment the right one):
#  -DCOAL_BUILD_PYTHON_BINDINGS=OFF
#  -DCOAL_ENABLE_PYTHON_BINDINGS=OFF
