the previous attempt lead to fails-to-build-twice because autoreconf left
authorgregor herrmann <gregoa@debian.org>
Sat, 3 Dec 2011 00:25:48 +0000 (00:25 -0000)
committergregor herrmann <gregoa@debian.org>
Sat, 3 Dec 2011 00:25:48 +0000 (00:25 -0000)
files around that were never cleaned. let's do it this way:

use dh-autoreconf

debian/changelog
debian/control
debian/rules

index 67436ce..88fd9a8 100644 (file)
@@ -5,8 +5,8 @@ bti (032-1) UNRELEASED; urgency=low
   * New upstream release
   * Refresh patch manpage-debian.patch (offset), drop remaining patches (all
     included upstream).
-  * debian/rules: call autoreconf, the tarball from github doesn't ship a
-    configure script; build-depend on automake.
+  * The tarball from github doesn't ship a configure script; use
+    dh-autoreconf.
 
  -- gregor herrmann <gregoa@debian.org>  Sat, 03 Dec 2011 00:54:11 +0100
 
index be94641..41c0e29 100644 (file)
@@ -6,7 +6,7 @@ Uploaders: tony mancill <tmancill@debian.org>
 Build-Depends: debhelper (>= 8), bash-completion (>= 1:1.1-3),
  libcurl4-nss-dev, libreadline-dev, libxml2-dev, libpcre3-dev, liboauth-dev,
  xsltproc, docbook-xsl, docbook-xml,
- automake
+ dh-autoreconf
 Standards-Version: 3.9.2
 Vcs-Svn: http://svn.toastfreeware.priv.at/debian/bti/trunk/
 Vcs-Browser: http://svn.toastfreeware.priv.at/wsvn/ToastfreewareDebian/bti/trunk/
index 5abe823..2090165 100755 (executable)
@@ -1,8 +1,4 @@
 #!/usr/bin/make -f
 
 %:
-       dh $@ --with bash-completion
-
-override_dh_auto_configure:
-       autoreconf --install --force
-       dh_auto_configure
+       dh $@ --with bash-completion,autoreconf