Rev 40 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 40 | Rev 42 | ||
---|---|---|---|
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 | --without-zlib \ |
11 | --without-zlib \ |
12 | --mandir=\$${prefix}/share/man \ |
12 | --mandir=\$${prefix}/share/man \ |
13 | $(shell dpkg-buildflags --export=configure) |
13 | $(shell dpkg-buildflags --export=configure) |
14 | touch configure-stamp |
14 | touch configure-stamp |
15 | 15 | ||
16 | build-arch: build |
16 | build-arch: build |
17 | build-indep: |
17 | build-indep: |
18 | build: build-stamp |
18 | build: build-stamp |
19 | build-stamp: configure-stamp |
19 | build-stamp: configure-stamp |
20 | dh_testdir |
20 | dh_testdir |
21 | $(MAKE) |
21 | $(MAKE) |
22 | touch build-stamp |
22 | touch build-stamp |
23 | 23 | ||
24 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
24 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
25 | $(MAKE) check |
25 | $(MAKE) check |
26 | endif |
26 | endif |
27 | 27 | ||
28 | clean: |
28 | clean: |
29 | dh_testdir |
29 | dh_testdir |
30 | dh_testroot |
30 | dh_testroot |
31 | # Stale build files |
31 | # Stale build files |
32 | [ ! -f Makefile ] || $(MAKE) distclean |
32 | [ ! -f Makefile ] || $(MAKE) distclean |
33 | -rm -f build-stamp configure-stamp |
33 | -rm -f build-stamp configure-stamp |
34 | dh_autoreconf_clean |
34 | dh_autoreconf_clean |
35 | dh_clean libtool configure |
35 | dh_clean libtool configure |
36 | 36 | ||
37 | install: build-stamp |
37 | install: build-stamp |
38 | dh_testdir |
38 | dh_testdir |
39 | dh_testroot |
39 | dh_testroot |
40 | dh_prep |
40 | dh_prep |
41 | 41 | ||
42 | $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp |
42 | $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp |
43 | 43 | ||
44 | binary-indep: |
44 | binary-indep: |
45 | 45 | ||
46 | binary-arch: install |
46 | binary-arch: install |
47 | dh_testdir |
47 | dh_testdir |
48 | dh_testroot |
48 | dh_testroot |
49 | dh_install --sourcedir=debian/tmp |
49 | dh_install --sourcedir=debian/tmp |
50 | 50 | ||
51 | dh_installdocs |
51 | dh_installdocs |
52 | dh_installexamples |
52 | dh_installexamples |
53 | dh_installman |
53 | dh_installman |
54 | dh_installchangelogs ChangeLog |
54 | dh_installchangelogs ChangeLog |
55 | dh_link |
55 | dh_link |
56 | dh_strip |
56 | dh_strip |
57 | dh_compress |
57 | dh_compress |
58 | dh_fixperms |
58 | dh_fixperms |
59 | dh_makeshlibs |
59 | dh_makeshlibs |
60 | dh_installdeb |
60 | dh_installdeb |
61 | dh_shlibdeps |
61 | dh_shlibdeps |
62 | dh_gencontrol |
62 | dh_gencontrol |
63 | dh_md5sums |
63 | dh_md5sums |
64 | dh_builddeb |
64 | dh_builddeb |
65 | 65 | ||
66 | binary: binary-indep binary-arch |
66 | binary: binary-indep binary-arch |
67 | .PHONY: build clean binary-indep binary-arch binary install configure |
67 | .PHONY: build clean binary-indep binary-arch binary install configure |