#!/usr/bin/make -f

%:
	dh $* --buildsystem=python_distutils --with python2

override_dh_auto_clean:
	dh_auto_clean
	rm -rf locale

override_dh_auto_test:
	# Disable the testsuite for now as it randomly segfaults (#848061)
#ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
#	BZR_PLUGINS_AT=qbzr@$(CURDIR) xvfb-run /usr/bin/bzr selftest -s bp.qbzr \
#	-xTestQDiff.test_find -xTestQUnshelve.test_find
#endif
