#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

# detect if build targets experimental suite (or is a draft)
DEB_SUITE_EXP = $(filter experimental% UNRELEASED,$(DEB_DISTRIBUTION))

DH_OPTIONS = -O--buildsystem=pybuild

override_dh_auto_test:
	dh_auto_test $(if $(DEB_SUITE_EXP),|| true)

%:
	dh $@ $(DH_OPTIONS:-O%=%)
