#!/usr/bin/make -f %: dh $@ --with phpcomposer override_dh_auto_build: dh_auto_build phpab -o src/Carbon/autoload.php -t debian/autoload.php.tpl src/Carbon override_dh_auto_test: ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) mkdir -p vendor phpab \ -o vendor/autoload.php \ -t debian/autoload.php.test.tpl \ --blacklist 'carbon\\cli' \ tests phpunit -v --include-path src else @echo "** tests disabled" endif