Rev 12 | Rev 47 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 12 | Rev 40 | ||
|---|---|---|---|
| Line 6... | Line 6... | ||
| 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 | --mandir=\$${prefix}/share/man \
|
12 | --mandir=\$${prefix}/share/man \
|
| 12 | $(shell dpkg-buildflags --export=configure) |
13 | $(shell dpkg-buildflags --export=configure) |
| 13 | touch configure-stamp |
14 | touch configure-stamp |
| 14 | 15 | ||
| 15 | build-arch: build |
16 | build-arch: build |
| Line 18... | Line 19... | ||
| 18 | build-stamp: configure-stamp |
19 | build-stamp: configure-stamp |
| 19 | dh_testdir |
20 | dh_testdir |
| 20 | $(MAKE) |
21 | $(MAKE) |
| 21 | touch build-stamp |
22 | touch build-stamp |
| 22 | 23 | ||
| - | 24 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
|
| - | 25 | $(MAKE) check |
|
| - | 26 | endif |
|
| - | 27 | ||
| 23 | clean: |
28 | clean: |
| 24 | dh_testdir |
29 | dh_testdir |
| 25 | dh_testroot |
30 | dh_testroot |
| 26 | # Stale build files |
31 | # Stale build files |
| 27 | [ ! -f Makefile ] || $(MAKE) distclean |
32 | [ ! -f Makefile ] || $(MAKE) distclean |