#!/usr/bin/make -f %: dh $* --with python3 --buildsystem=pybuild ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) CONCURRENCY = BZR_CONCURRENCY=$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) endif ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) override_dh_auto_test: PYTHONPATH=$(CURDIR) $(CONCURRENCY) BRZ_PLUGINS_AT=loggerhead@$(CURDIR) /usr/bin/brz selftest \ --parallel=fork -v -s bp.loggerhead endif override_dh_auto_clean: dh_auto_clean cd docs/ && $(MAKE) clean override_dh_auto_build: dh_auto_build cd docs/ && PYTHONPATH=.. $(MAKE) html