File: rules

package info (click to toggle)
php-phpdocumentor-type-resolver 1.10.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,312 kB
  • sloc: php: 25,713; xml: 102; makefile: 50
file content (19 lines) | stat: -rwxr-xr-x 480 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_build:
	phpabtpl composer.json > debian/autoload.php.tpl
	phpab \
		--template debian/autoload.php.tpl \
		--output src/Types/autoload.php \
		src
	# Mimic path for tests
	mkdir --parents phpDocumentor/Reflection
	ln -s ../../src/Types phpDocumentor/Reflection

override_dh_auto_test:
	phpunit --testsuite unit --bootstrap debian/autoload.php

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