#!/usr/bin/make -f %: dh $@ --with phpcomposer override_dh_auto_build: phpab \ --template debian/autoload.php.in \ --output src/autoload.php \ src mkdir --parents vendor phpab \ --template debian/autoload.php.test.in \ --output vendor/autoload.php \ tests/_fixture/ override_dh_auto_test: ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) phpunit else @echo "** tests disabled" endif get-orig-source: uscan --force --verbose --rename