19 | 19 |
|
20 | 20 |
config.status: configure
|
21 | 21 |
dh_testdir
|
22 | |
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
|
23 | |
mv config.sub config.sub.original
|
24 | |
cp -f /usr/share/misc/config.sub config.sub
|
25 | |
endif
|
26 | |
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
|
27 | |
mv config.guess config.guess.original
|
28 | |
cp -f /usr/share/misc/config.guess config.guess
|
29 | |
endif
|
|
22 |
dh_autotools-dev_updateconfig
|
30 | 23 |
# Add here commands to configure the package.
|
31 | 24 |
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
|
32 | 25 |
--prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
|
33 | 26 |
--includedir=\$${prefix}/include/geotiff
|
34 | 27 |
|
35 | |
build: build-stamp
|
|
28 |
build: build-arch build-indep
|
|
29 |
build-arch: build-stamp
|
|
30 |
build-indep: build-stamp
|
|
31 |
|
36 | 32 |
build-stamp: config.status
|
37 | 33 |
|
38 | 34 |
dh_testdir
|
|
45 | 41 |
clean:
|
46 | 42 |
dh_testdir
|
47 | 43 |
dh_testroot
|
48 | |
|
49 | |
ifneq "$(wildcard /usr/share/misc/config.sub.original)" ""
|
50 | |
mv config.sub.original config.sub
|
51 | |
endif
|
52 | |
ifneq "$(wildcard /usr/share/misc/config.guess.original)" ""
|
53 | |
mv config.guess.original config.guess
|
54 | |
endif
|
|
44 |
dh_autotools-dev_restoreconfig
|
55 | 45 |
|
56 | 46 |
# Add here commands to clean up after the build process.
|
57 | 47 |
[ ! -f $(CURDIR)/Makefile ] || $(MAKE) distclean
|
|
72 | 62 |
|
73 | 63 |
|
74 | 64 |
# Build architecture-independent files here.
|
75 | |
binary-indep: build install
|
|
65 |
binary-indep: build-indep install
|
76 | 66 |
# We have nothing to do by default.
|
77 | 67 |
|
78 | 68 |
# Build architecture-dependent files here.
|
79 | |
binary-arch: build install
|
|
69 |
binary-arch: build-arch install
|
80 | 70 |
dh_testdir
|
81 | 71 |
dh_testroot
|
82 | 72 |
dh_installchangelogs ChangeLog
|