]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
debian/rules: update config.{guess,sub} before running configure, not after
authorTheodore Ts'o <tytso@mit.edu>
Fri, 4 Aug 2017 15:26:39 +0000 (11:26 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 4 Aug 2017 15:26:39 +0000 (11:26 -0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debian/rules

index f36c78d14c513012cdfba4d45b2f71335260902b..dc4d2380eda9f4a6ae2fdd53f72aae859e981de2 100755 (executable)
@@ -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