File: rules

package info (click to toggle)
cyrus-imspd 1.8-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 3,448 kB
  • sloc: ansic: 15,708; sh: 2,200; makefile: 188
file content (51 lines) | stat: -rwxr-xr-x 956 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/make -f

include /usr/share/quilt/quilt.make

build build-arch: build-stamp
build-stamp: $(QUILT_STAMPFN)
	dh_testdir
	cp /usr/share/misc/config.guess /usr/share/misc/config.sub .
	./configure --prefix=/usr --with-statedir=/var/lib/imsp
	$(MAKE) -C lib
	$(MAKE)
	# Remove /usr/local/lib rpath
	chrpath -d imsp/cyrus-imspd
	touch build-stamp

build-indep:

clean: unpatch
	dh_testdir
	dh_testroot
	rm -rf build-stamp ptclient
	[ ! -f Makefile ] || $(MAKE) distclean
	dh_clean

install: build-stamp
	dh_testdir
	dh_testroot
	dh_prep
	dh_installdirs
	dh_install

binary-indep:
binary binary-arch: build-stamp install
	dh_testdir
	dh_testroot
	dh_installchangelogs notes/Changes-Todo
	dh_installdocs
	dh_installexamples
	dh_installman
	dh_installinit
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

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