From: Brett Parker Date: Tue, 1 Oct 2013 11:30:52 +0000 (+0100) Subject: Switch debian build system to dh X-Git-Tag: onak-0.4.3~60^2 X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=b7a8b5277d37b289361ff0cc881632f527e4d5db;p=onak.git Switch debian build system to dh --- diff --git a/debian/control b/debian/control index 9123ac1..a387bf9 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: net Priority: optional Maintainer: Jonathan McDowell Uploaders: Ross Burton -Build-Depends: debhelper (>= 7), cdbs, libdb-dev, nettle-dev, libcurl4-gnutls-dev | libcurl-dev +Build-Depends: debhelper (>= 7), 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 diff --git a/debian/rules b/debian/rules index baac126..acf47b1 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,16 @@ #!/usr/bin/make -f -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/autotools.mk - 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}