File: rules

package info (click to toggle)
php-webimpress-safe-writer 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 332 kB
  • sloc: php: 418; xml: 38; makefile: 13
file content (16 lines) | stat: -rwxr-xr-x 364 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_build:
	phpab	--output src/autoload.php \
		src
	mkdir --parents vendor Webimpress
	ln -s ../src Webimpress/SafeWriter
	phpabtpl --require webimpress/safe-writer > debian/autoload.tests.php.tpl
	phpab	--output vendor/autoload.php \
		--template debian/autoload.tests.php.tpl \
		test

override_dh_auto_test:
	phpunit