File: Makefile

package info (click to toggle)
pkg-php-tools 1.49
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 528 kB
  • sloc: php: 1,737; sh: 501; perl: 444; xml: 184; makefile: 17
file content (19 lines) | stat: -rw-r--r-- 664 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
VERSION=$(shell expr "`dpkg-parsechangelog |grep Version:`" : '.*Version: \(.*\)')

POD2MAN=pod2man --utf8 -c Debhelper -r "$(VERSION)"

build:
	$(POD2MAN) bin/dh_phppear dh_phppear.1
	$(POD2MAN) bin/dh_phpcomposer dh_phpcomposer.1
	$(POD2MAN) -c pkg-php-tools bin/phpabtpl phpabtpl.1
	$(POD2MAN) -s 7 doc/pkg-php-tools.pod pkg-php-tools.7

test:
	sh testsuite/runtests.sh

clean:
	if [ -e .phpunit.result.cache ]; then rm .phpunit.result.cache; fi;
	if [ -e dh_phppear.1 ]; then rm dh_phppear.1; fi;
	if [ -e dh_phpcomposer.1 ]; then rm dh_phpcomposer.1; fi;
	if [ -e phpabtpl.1 ]; then rm phpabtpl.1; fi;
	if [ -e pkg-php-tools.7 ]; then rm pkg-php-tools.7; fi;