aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 485c641..857fabd 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: web
Priority: standard
Maintainer: Tatsuya Kinoshita <tats@debian.org>
Uploaders: HIGUCHI Daisuke (VDR dai) <dai@debian.org>
-Build-Depends: libgc-dev, libncurses5-dev, libgpmg1-dev [linux-any], zlib1g-dev, libssl-dev, debhelper (>= 7), gawk | awk, libimlib2-dev
+Build-Depends: libgc-dev, libncurses5-dev, libgpmg1-dev [linux-any], zlib1g-dev, libssl-dev, debhelper (>= 7), gawk | awk, libimlib2-dev, autotools-dev (>= 20100122)
Homepage: http://sourceforge.net/projects/w3m
Vcs-Git: git://anonscm.debian.org/collab-maint/w3m.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/w3m.git
diff --git a/debian/rules b/debian/rules
index 29f9576..46aa8cc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,6 +32,7 @@ build-indep:
build-arch: build-stamp
build-stamp:
dh_testdir
+ dh_autotools-dev_updateconfig
test ! -f entity.h || test -f entity.h.debian-bak || cp entity.h entity.h.debian-bak
cd $(builddir) && CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure $(confargs)
cd $(builddir) && LC_ALL=C $(MAKE) OPTS="-Wall -g -DDEBIAN"
@@ -46,6 +47,7 @@ clean:
rm -f $(builddir)/po/*.gmo
rm -f $(builddir)/po/stamp-po
rm -f extract-stamp patch-stamp configure-stamp build-stamp install-stamp
+ dh_autotools-dev_restoreconfig
dh_clean
install: install-stamp