From b7a8b5277d37b289361ff0cc881632f527e4d5db Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Tue, 1 Oct 2013 12:30:52 +0100 Subject: [PATCH] Switch debian build system to dh --- debian/control | 2 +- debian/rules | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) 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} -- 2.39.2