File: rules

package info (click to toggle)
php-font-lib 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 660 kB
  • sloc: php: 2,975; makefile: 15
file content (20 lines) | stat: -rwxr-xr-x 454 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 $@

override_dh_auto_build:
	phpabtpl composer.json > debian/autoload.php.tpl
	phpab --output src/autoload.php \
		--template debian/autoload.php.tpl \
		--basedir src/FontLib/ \
		src/

override_dh_auto_test:
	phpab --output tests/autoload.php \
		--template debian/autoload.php.tpl \
		src/
	phpunit --no-coverage --bootstrap tests/autoload.php

override_dh_installchangelogs:
	dh_installchangelogs debian/upstream/changelog