Whamcloud - gitweb
debian: use dh_update_autotools_config to update config.{guess,sub}
authorTheodore Ts'o <tytso@mit.edu>
Thu, 19 May 2016 23:13:16 +0000 (19:13 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 20 May 2016 17:14:09 +0000 (13:14 -0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debian/rules

index b13e483..88f2b03 100755 (executable)
@@ -340,6 +340,9 @@ build: build-std $(BUILD_BF) $(BUILD_STATIC)
 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