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

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	cd tests && phpunit
	phpcs -p --standard=tests/phpcs/ruleset.xml lib
else
	@echo "** tests disabled"
endif

get-orig-source:
	uscan --verbose --force --rename
