#!/usr/bin/make -f
%:
	dh $@ --with phpcomposer

override_dh_auto_configure:
	phpab	--output src/autoload.php \
		--template debian/autoload.php.tpl \
		src

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	phpunit
else
	@echo "** tests disabled"
endif
