#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

export PYBUILD_NAME = pbcore

%:
	LC_ALL=C.UTF-8 dh $@ --with python2,python3 --buildsystem=pybuild

override_dh_auto_build:
	dh_auto_build
	$(MAKE) doc

override_dh_installdocs:
	dh_installdocs -X _source

get-orig-source:
	uscan --verbose --force-download --repack --rename --compression xz

# test requires the package itself to be installed...
override_dh_auto_test:
