File: rules

package info (click to toggle)
php-font-lib 0.5.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 552 kB
  • sloc: php: 2,673; makefile: 15
file content (20 lines) | stat: -rwxr-xr-x 461 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 tests/

override_dh_installchangelogs:
	dh_installchangelogs debian/upstream/changelog