File: rules

package info (click to toggle)
pop3browser 0.4.1-5
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 44 kB
  • ctags: 4
  • sloc: perl: 453; makefile: 30
file content (44 lines) | stat: -rwxr-xr-x 736 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/make -f

DEBDIR=debian/pop3browser/DEBIAN
BINDIR=debian/pop3browser/usr/bin
DOCDIR=debian/pop3browser/usr/share/doc/pop3browser

build-arch: build
build-indep: build

build:
	set -e; 
	touch build

clean:
	-rm -f build
	dh_clean
	rm -f debian/*.log

binary-indep: checkroot build
#perl script
	install -d ${BINDIR}
	install -p -m 755 pop3browser ${BINDIR}
#documentation
	dh_installdocs README
	dh_installdocs TODO
	dh_installchangelogs
	dh_installman pop3browser.1
	dh_compress
#postinst and postrm
	dh_installdeb
#build package
	dh_perl
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch: checkroot build

binary: binary-indep binary-arch

checkroot:
	dh_testroot

.PHONY: binary binary-arch binary-indep clean checkroot