File: rules

package info (click to toggle)
libproc-processtable-perl 0.45-1%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 488 kB
  • ctags: 587
  • sloc: ansic: 4,012; perl: 361; makefile: 19
file content (27 lines) | stat: -rwxr-xr-x 526 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
20
21
22
23
24
25
26
27
#!/usr/bin/make -f

build: build-stamp
build-stamp:
	dh build
	touch $@

clean:
	dh $@

install: install-stamp
install-stamp: build-stamp
	dh install --before auto_install
	make DESTDIR=$(CURDIR)/debian/libproc-processtable-perl PREFIX=/usr install
	rm -f $(CURDIR)/debian/libproc-processtable-perl/usr/lib/perl5/Proc/example.pl
	dh install --after auto_install
	touch $@

binary-arch: install
	dh $@

binary-indep: install
	dh $@

binary: binary-arch binary-indep

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