From: Brett Parker Date: Tue, 1 Oct 2013 11:30:52 +0000 (+0100) Subject: Switch debian build system to dh X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/b7a8b5277d37b289361ff0cc881632f527e4d5db?ds=sidebyside;hp=36d41c3511ed10d991e329b8dcd2bf2edd17ccf3 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}