#!/usr/bin/make -f
# This file is public domain.

DEB_PYTHON_SYSTEM=pycentral

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk

DEB_INSTALL_DOCS_ALL += CREDITS NEWS.Shelf README.Shelf TODO.Shelf

ifneq (,$(findstring test,$(DEB_BUILD_OPTIONS)))
common-post-build-indep::
	env BZR_PLUGIN_PATH=$(CURDIR)/build/lib/bzrlib/plugins \
	    /usr/bin/bzr selftest bzrtools
endif
