Use dh_autotools-dev_*config instead of updating config.{sub,config} manually
Axel Beckert
12 years ago
21 | 21 | configure: config.status |
22 | 22 | config.status: patch-stamp |
23 | 23 | dh_testdir |
24 | [ -f config.sub.d-r-orig ] || cp -p config.sub config.sub.d-r-orig | |
25 | [ -f config.guess.d-r-orig ] || cp -p config.guess config.guess.d-r-orig | |
26 | ifneq "$(wildcard /usr/share/misc/config.sub)" "" | |
27 | cp -f /usr/share/misc/config.sub config.sub | |
28 | endif | |
29 | ifneq "$(wildcard /usr/share/misc/config.guess)" "" | |
30 | cp -f /usr/share/misc/config.guess config.guess | |
31 | endif | |
24 | dh_autotools-dev_updateconfig | |
32 | 25 | ./configure $(CONFFLAGS) \ |
33 | 26 | --prefix=/usr \ |
34 | 27 | --sysconfdir=/etc \ |
56 | 49 | -rm -f `find . -name "*.o"` `find . -name "*.dpi"` `find . -name "*.a"` |
57 | 50 | -rm -f `find . -name "*.gmo"` src/dillo dpid/dpid config/dillocfg |
58 | 51 | [ ! -f Makefile ] || $(MAKE) clean |
59 | [ ! -f config.sub.d-r-orig ] || mv config.sub.d-r-orig config.sub | |
60 | [ ! -f config.guess.d-r-orig ] || mv config.guess.d-r-orig config.guess | |
52 | dh_autotools-dev_restoreconfig | |
61 | 53 | dh_clean |
62 | 54 | |
63 | 55 | install: build |