X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/cd4738e8f5ede42cba925b58a84c61e22bab8e8f..b7a8b5277d37b289361ff0cc881632f527e4d5db:/debian/rules diff --git a/debian/rules b/debian/rules index a230cea..acf47b1 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +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 -DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=db4 +CFLAGS += -std=gnu99 -DEB_MAKE_INSTALL_TARGET := +%: + dh "$@" -# Woody doesn't like this of course -#CFLAGS += -std=gnu99 +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}