File: rules

package info (click to toggle)
php-phpseclib3 3.0.19-1%2Bdeb12u3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,136 kB
  • sloc: php: 29,413; xml: 393; makefile: 20
file content (23 lines) | stat: -rwxr-xr-x 521 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
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_build:
	phpab \
		--output phpseclib/autoload.php \
		--template debian/autoload.php.tpl \
		phpseclib
	mkdir --parents vendor
	phpabtpl \
		--require phpseclib/phpseclib \
		> debian/autoload.tests.php.tpl
	phpab \
		--output vendor/autoload.php \
		--template debian/autoload.tests.php.tpl \
	tests
	ln -s phpseclib phpseclib3
	ln -s /usr/share/php/ParagonIE
	ln -s /usr/share/php/random_compat

override_dh_auto_test:
	phpunit --verbose --configuration tests/phpunit.xml