From 88db207a6cff945ad1cb608da4614b82032a2c9e Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Mon, 29 Jan 2007 17:09:59 +0000 Subject: [PATCH] Patch before configuring and make sure the autotools are not called again. --- debian/rules | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 01227dc..428c5ec 100755 --- a/debian/rules +++ b/debian/rules @@ -23,9 +23,10 @@ endif include /usr/share/dpatch/dpatch.make -$(BUILDDIR)/config.status: configure +$(BUILDDIR)/config.status: configure patch dh_testdir [ -e $(BUILDDIR) ] || mkdir $(BUILDDIR) + touch aclocal.m4 configure Makefile.in cd $(BUILDDIR) && CFLAGS="$(CFLAGS)" ../../configure \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ @@ -33,7 +34,7 @@ $(BUILDDIR)/config.status: configure build: build-stamp -build-stamp: $(BUILDDIR)/config.status patch +build-stamp: $(BUILDDIR)/config.status dh_testdir $(MAKE) -C $(BUILDDIR) -- 2.30.2