File: rules

package info (click to toggle)
php-opis-closure 3.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 340 kB
  • sloc: php: 3,240; xml: 41; makefile: 15; sh: 8
file content (20 lines) | stat: -rwxr-xr-x 415 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

%:
	dh $@ --with phpcomposer

override_dh_auto_build:
	phpab -t debian/autoload.php.tpl -o src/autoload.php src

override_dh_auto_test:
	mkdir -p vendor
	phpab \
		-o vendor/autoload.php \
		-t debian/autoload.php.test.tpl \
		tests
	ln -s ../functions.php src/functions.php
	phpunit -v --include-path src
	rm src/functions.php

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG.md