Subversion Repositories

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

Rev 14 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14 Rev 21
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
		$(shell dpkg-buildflags --export=configure)
12
		$(shell dpkg-buildflags --export=configure)
13
	touch configure-stamp
13
	touch configure-stamp
14
14
15
build-arch: build
15
build-arch: build
16
build-indep:
16
build-indep:
17
build: build-stamp
17
build: build-stamp
18
build-stamp: configure-stamp 
18
build-stamp: configure-stamp 
19
	dh_testdir
19
	dh_testdir
20
	$(MAKE)
20
	$(MAKE)
21
	touch build-stamp
21
	touch build-stamp
22
22
23
clean:
23
clean:
24
	dh_testdir
24
	dh_testdir
25
	dh_testroot
25
	dh_testroot
26
	# Stale build files
26
	# Stale build files
27
	[ ! -f Makefile ] || $(MAKE) distclean
27
	[ ! -f Makefile ] || $(MAKE) distclean
28
	-rm -f build-stamp configure-stamp
28
	-rm -f build-stamp configure-stamp
29
	dh_autoreconf_clean
29
	dh_autoreconf_clean
30
	dh_clean libtool configure
30
	dh_clean libtool configure
31
31
32
install: build-stamp
32
install: build-stamp
33
	dh_testdir
33
	dh_testdir
34
	dh_testroot
34
	dh_testroot
35
	dh_prep
35
	dh_prep
36
36
37
	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
37
	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
38
38
39
binary-indep:
39
binary-indep:
40
40
41
binary-arch: install
41
binary-arch: install
42
	dh_testdir
42
	dh_testdir
43
	dh_testroot
43
	dh_testroot
44
	dh_install --sourcedir=debian/tmp
44
	dh_install --sourcedir=debian/tmp
45
45
46
	dh_installdocs
46
	dh_installdocs
47
	dh_installexamples
47
	dh_installexamples
48
	dh_installman 
48
	dh_installman 
49
	dh_installchangelogs ChangeLog
49
	dh_installchangelogs ChangeLog
50
	dh_link
50
	dh_link
51
	dh_strip
51
	dh_strip
52
	dh_compress
52
	dh_compress
53
	dh_fixperms
53
	dh_fixperms
54
	dh_makeshlibs
54
	dh_makeshlibs
55
	dh_installdeb
55
	dh_installdeb
56
	dh_shlibdeps
56
	dh_shlibdeps
57
	dh_gencontrol
57
	dh_gencontrol
58
	dh_md5sums
58
	dh_md5sums
59
	dh_builddeb
59
	dh_builddeb
60
60
61
binary: binary-indep binary-arch
61
binary: binary-indep binary-arch
62
.PHONY: build clean binary-indep binary-arch binary install configure
62
.PHONY: build clean binary-indep binary-arch binary install configure