File: rules

package info (click to toggle)
php-doctrine-common 3.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 708 kB
  • sloc: php: 5,271; xml: 88; makefile: 19
file content (25 lines) | stat: -rwxr-xr-x 518 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f

%:
	dh $@ --with phpcomposer

override_dh_auto_build:
	phpab \
		--output lib/Doctrine/Common/autoload.php \
		--template debian/autoload.php.tpl \
		lib/Doctrine/Common
	mkdir --parents vendor
	phpab \
		--output vendor/autoload.php \
		--template debian/autoload.tests.php.tpl \
		--blacklist *\\classd \
		--blacklist *\\classe \
		tests

override_dh_auto_clean:

override_dh_auto_test:
	phpunit --include-path lib

override_dh_installchangelogs:
	dh_installchangelogs debian/upstream/changelog