File: Makefile

package info (click to toggle)
pkg-php-tools 1.12~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 292 kB
  • sloc: perl: 415; sh: 212; xml: 144; makefile: 14; php: 1
file content (17 lines) | stat: -rw-r--r-- 491 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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) doc/pkg-php-tools.pod pkg-php-tools.7

test:
	sh testsuite/runtests.sh

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