File: rules

package info (click to toggle)
phing 2.16.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 4,460 kB
  • sloc: php: 43,097; xml: 614; makefile: 20; sh: 5
file content (27 lines) | stat: -rwxr-xr-x 691 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f

UPSTREAM := $(shell head -1 debian/changelog | sed 's/.*(//;s/-[^-]*).*//')

%:
	dh $@ --buildsystem=phppear --with phppear

override_dh_auto_configure:
	dh_auto_configure -O--buildsystem=phppear
	sed -i '/ role="doc" /d' */package.xml

override_dh_installchangelogs:
	dh_installchangelogs */CHANGELOG.md

override_dh_installman:
	mkdir -p $(CURDIR)/debian/tmp
	ln -s phing-* phing
	help2man --no-discard-stderr --no-info \
		--help-option=-h \
		--version-string=$(UPSTREAM) \
		--include=$(CURDIR)/debian/phing.1.in \
		"echo -n 'Usage: ' && php phing/bin/phing.php" \
		> $(CURDIR)/debian/tmp/phing.1
	dh_installman

get-orig-source:
	uscan --verbose --rename --force