Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 5 | Rev 9 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5 Rev 7
1
#!/usr/bin/make -f
1
#!/usr/bin/make -f
2
2
3
export LIBTOOLIZE = libtoolize --install
3
export LIBTOOLIZE = libtoolize --install
4
4
5
configure: configure-stamp
5
configure: configure-stamp
6
configure-stamp:
6
configure-stamp:
7
	dh_testdir
7
	dh_testdir
8
	[ -f debian/autoreconf.before ] || dh_autoreconf
8
	[ -f debian/autoreconf.before ] || dh_autoreconf
9
	./configure \
9
	./configure \
10
		--prefix=/usr \
10
		--prefix=/usr \
11
		--mandir=\$${prefix}/share/man 
11
		--mandir=\$${prefix}/share/man 
12
	touch configure-stamp
12
	touch configure-stamp
13
13
14
build: build-stamp
14
build: build-stamp
15
build-stamp: configure-stamp 
15
build-stamp: configure-stamp 
16
	dh_testdir
16
	dh_testdir
17
	$(MAKE)
17
	$(MAKE)
18
	touch build-stamp
18
	touch build-stamp
19
19
20
clean:
20
clean:
21
	dh_testdir
21
	dh_testdir
22
	dh_testroot
22
	dh_testroot
23
	# Stale build files
23
	# Stale build files
24
	[ ! -f Makefile ] || $(MAKE) distclean
24
	[ ! -f Makefile ] || $(MAKE) distclean
25
	-rm -f build-stamp configure-stamp
25
	-rm -f build-stamp configure-stamp
26
	dh_autoreconf_clean
26
	dh_autoreconf_clean
27
	dh_clean libtool configure
27
	dh_clean libtool configure
28
28
29
install: build-stamp
29
install: build-stamp
30
	dh_testdir
30
	dh_testdir
31
	dh_testroot
31
	dh_testroot
32
	dh_prep
32
	dh_prep
33
33
34
	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
34
	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
35
35
36
binary-indep: build install
36
binary-indep:
37
37
38
binary-arch: install
38
binary-arch: install
39
	dh_testdir
39
	dh_testdir
40
	dh_testroot
40
	dh_testroot
41
	dh_install --sourcedir=debian/tmp
41
	dh_install --sourcedir=debian/tmp
42
42
43
	dh_installdocs
43
	dh_installdocs
44
	dh_installexamples
44
	dh_installexamples
45
	dh_installman 
45
	dh_installman 
46
	dh_installchangelogs ChangeLog
46
	dh_installchangelogs ChangeLog
47
	dh_link
47
	dh_link
48
	dh_strip
48
	dh_strip
49
	dh_compress
49
	dh_compress
50
	dh_fixperms
50
	dh_fixperms
51
	dh_makeshlibs
51
	dh_makeshlibs
52
	dh_installdeb
52
	dh_installdeb
53
	dh_shlibdeps
53
	dh_shlibdeps
54
	dh_gencontrol
54
	dh_gencontrol
55
	dh_md5sums
55
	dh_md5sums
56
	dh_builddeb
56
	dh_builddeb
57
57
58
binary: binary-indep binary-arch
58
binary: binary-indep binary-arch
59
.PHONY: build clean binary-indep binary-arch binary install configure
59
.PHONY: build clean binary-indep binary-arch binary install configure