Add "--add-missing --copy --force-missing" to the automake invocation to
make sure the automake tools included in the release tarball are in sync
with the generated configure script.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
http://www.8t8.us/configs/gpg-key-transition-statement.txt
# HG changeset patch
# User Kevin McCarthy <[email protected]>
# Date 1435517989 25200
#      Sun Jun 28 11:59:49 2015 -0700
# Node ID f6a5318bd2239c33b953d46dca8c599563c616dd
# Parent  3bbb1f569eb17edffbe3b4d6ebd276ad27679023
Fix build-release to always update automake tools. (closes #3671)

1.5.22 and 1.5.23 include a version of "missing" older than the version
of automake/aclocal used to generate configure.

Fix the build-release script to always copy and force update of the
automake tools.

diff --git a/build-release b/build-release
--- a/build-release
+++ b/build-release
@@ -48,17 +48,17 @@
 
 VERSION="`cat VERSION`" 
 TAG="mutt-`echo $VERSION | tr . -`-rel" 
 
 #echo 'const char *ReleaseDate = "'`date +%Y-%m-%d`'";' > reldate.h
 
 # now, prepare the distribution tar balls
 
-automake
+automake --add-missing --copy --force-missing
 touch configure.ac
 make config.status
 ./config.status
 make update-doc
 make update-changelog
 (cd po && make update-po)
 
 # build them

Attachment: signature.asc
Description: PGP signature

Reply via email to