File: rules

package info (click to toggle)
php-doctrine-event-manager 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 216 kB
  • sloc: php: 179; makefile: 15
file content (19 lines) | stat: -rwxr-xr-x 487 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
%:
	dh $@ --with phpcomposer

override_dh_auto_build:
	mkdir -p lib/Doctrine/Common/EventManager vendor
	phpab \
		--output lib/Doctrine/Common/EventManager/autoload.php \
		lib/Doctrine/Common
	phpab \
		--output vendor/autoload.php \
		--template debian/autoload.tests.php.tpl \
		tests/Doctrine/Tests

override_dh_auto_test:
	phpunit --include-path lib --bootstrap vendor/autoload.php

override_dh_installchangelogs:
	dh_installchangelogs debian/upstream/changelog