]> the.earth.li Git - onak.git/commitdiff
Use dh-autoreconf to rebuild autoconf artifacts
authorJonathan McDowell <noodles@earth.li>
Sun, 6 Oct 2013 12:15:39 +0000 (13:15 +0100)
committerJonathan McDowell <noodles@earth.li>
Sun, 6 Oct 2013 12:15:39 +0000 (13:15 +0100)
debian/control
debian/rules

index a387bf99c9dbd4d36b7da60787778b055e951d2b..4e21b7a751cd70970aba21caaf51cce6023a0f7c 100644 (file)
@@ -3,7 +3,7 @@ Section: net
 Priority: optional
 Maintainer: Jonathan McDowell <noodles@earth.li>
 Uploaders: Ross Burton <ross@debian.org>
-Build-Depends: debhelper (>= 7), libdb-dev, nettle-dev, libcurl4-gnutls-dev | libcurl-dev
+Build-Depends: debhelper (>= 9), dh-autoreconf, libdb-dev, nettle-dev, libcurl4-gnutls-dev | libcurl-dev
 Standards-Version: 3.9.4.0
 Homepage: http://www.earth.li/projectpurple/progs/onak.html
 Vcs-Browser: http://the.earth.li/gitweb/?p=onak.git;a=summary
index acf47b1923dc5749b63ef8808da3ebb54cbf84df..4c1e6ddde8697c297d35f676b7b4a045a116a568 100755 (executable)
@@ -5,12 +5,4 @@ DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=dynamic
 CFLAGS += -std=gnu99
 
 %:
-       dh "$@"
-
-override_dh_clean:
-       rm -f config.log configure config.h.in aclocal.m4
-       dh_clean
-
-override_dh_auto_configure:
-       autoreconf
-       dh_auto_configure -- ${DEB_CONFIGURE_EXTRA_FLAGS}
+       dh "$@" --with autoreconf