File: rules

package info (click to toggle)
php-phpdocumentor-reflection-docblock 5.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 832 kB
  • sloc: php: 6,553; makefile: 46; xml: 41
file content (22 lines) | stat: -rwxr-xr-x 536 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
#!/usr/bin/make -f
%:
	dh $@ --with phpcomposer

override_dh_auto_build:
	phpab \
		--template debian/autoload.php.tpl \
		--output src/DocBlock/autoload.php \
		--basedir src/DocBlock src
	# Mimic path for tests
	mkdir --parents phpDocumentor/Reflection vendor
	ln -s ../../src/DocBlock phpDocumentor/Reflection
	phpab \
		--template debian/autoload.php.tests.tpl \
		--output vendor/autoload.php \
		tests/unit

override_dh_auto_test:
	phpunit

override_dh_installchangelogs:
	dh_installchangelogs $(CURDIR)/debian/upstream/changelog