File: rules

package info (click to toggle)
libtest-prereq-perl 1.037-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 148 kB
  • ctags: 20
  • sloc: perl: 265; makefile: 20
file content (30 lines) | stat: -rwxr-xr-x 652 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
28
29
30
#!/usr/bin/make -f

include /usr/share/quilt/quilt.make

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

build: build-stamp
build-stamp: $(QUILT_STAMPFN)
	CPANSHELL=1 dh build
	touch $@

clean: unpatch
	dh $@

install: install-stamp
install-stamp: build-stamp
	dh install
	mv $(TMP)/usr/share/man/man3/Test\:\:Prereq.3.gz $(TMP)/usr/share/man/man3/Test\:\:Prereq.3pm.gz
	mv $(TMP)/usr/share/man/man3/Test\:\:Prereq\:\:Build.3.gz $(TMP)/usr/share/man/man3/Test\:\:Prereq.3pm.gz
	touch $@

binary-arch:

binary-indep: install
	dh $@

binary: binary-arch binary-indep

.PHONY: binary binary-arch binary-indep install clean build