From 6bb275aa1f49c8fcb59452c3eb5182810f15664e Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Fri, 4 Aug 2017 11:26:39 -0400 Subject: [PATCH] debian/rules: update config.{guess,sub} before running configure, not after Signed-off-by: Theodore Ts'o --- debian/rules | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index f36c78d..dc4d238 100755 --- a/debian/rules +++ b/debian/rules @@ -271,6 +271,9 @@ debian/e2fsprogs.shlibs.local: debian/e2fsprogs.shlibs.local.in ${CFGSTDSTAMP}: dh_testdir + if which dh_update_autotools_config > /dev/null 2>&1 ; then \ + dh_update_autotools_config ;\ + fi # Make sure we don't try to rebuild the configure scripts find . -name configure | xargs touch @@ -301,6 +304,9 @@ endif ${CFGBFSTAMP}: dh_testdir + if which dh_update_autotools_config > /dev/null 2>&1 ; then \ + dh_update_autotools_config ;\ + fi rm -f config.cache mkdir -p ${bfbuilddir} @@ -334,9 +340,6 @@ build: build-std $(BUILD_BF) build-std: ${BUILDSTDSTAMP} ${BUILDSTDSTAMP}: ${CFGSTDSTAMP} dh_testdir - if which dh_update_autotools_config > /dev/null 2>&1 ; then \ - dh_update_autotools_config ;\ - fi $(MAKE) -C ${stdbuilddir} V=1 all ifneq ($(BUILD_E2FSCK_STATIC),no) $(MAKE) -C ${stdbuilddir}/e2fsck V=1 e2fsck.static -- 1.8.3.1