File: rules

package info (click to toggle)
maildirsync 1.2-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 188 kB
  • sloc: perl: 621; sh: 141; pascal: 134; makefile: 37
file content (53 lines) | stat: -rwxr-xr-x 1,028 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
45
46
47
48
49
50
51
52
53
#!/usr/bin/make -f

build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp

build-stamp:
	dh_testdir

	pod2man maildirsync.pod maildirsync.1

	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp

	rm -f maildirsync.1

	dh_clean

install: build-stamp
	dh_testdir
	dh_testroot
	dh_clean
	dh_installdirs

	cp maildirsync.pl debian/maildirsync/usr/bin/maildirsync

# Build architecture-independent files here.
binary-indep: build-stamp install
	dh_testdir
	dh_testroot
	dh_installchangelogs Changes
	dh_installdocs
	dh_installexamples
	cd contrib && tar -cf - mailbalance-0.2.0 | gzip -9 > ../debian/maildirsync/usr/share/doc/maildirsync/examples/mailbalance-0.2.0.tar.gz
	dh_installman
	dh_link
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

# Build architecture-dependent files here.
binary-arch: build-stamp install
# We have nothing to do by default.

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