diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2017-08-31 19:23:42 +0200 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2017-08-31 19:23:42 +0200 |
commit | f389ecb89acb7f51b6a9e8f41ebad3e45ac905a2 (patch) | |
tree | 9380abfd73fe36221b5378562629ef2da539e862 /bootstrap | |
parent | cc7231cc3668a387ae36905efca11f9d236c8df6 (diff) | |
parent | e94c0186d98d70df2f18c17622ee75f80f95e17b (diff) | |
download | automake-f389ecb89acb7f51b6a9e8f41ebad3e45ac905a2.tar.gz |
Merge branch 'minor'
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -35,20 +35,15 @@ export AUTOCONF # might be used by aclocal and/or automake export AUTOM4TE # ditto : ${PERL=perl} -BOOTSTRAP_SHELL=${BOOTSTRAP_SHELL-/bin/sh} - # Variables to substitute. VERSION=`sed -ne '/AC_INIT/s/^[^[]*\[[^[]*\[\([^]]*\)\].*$/\1/p' configure.ac` +APIVERSION=`sed -n 's/^APIVERSION=//p' configure.ac` PACKAGE=automake datadir=. # This should be automatically updated by the 'update-copyright' # rule of our Makefile. RELEASE_YEAR=2017 -# Read the rule for calculating APIVERSION and execute it. -apiver_cmd=`sed -ne 's/\[\[/[/g;s/\]\]/]/g;/^APIVERSION=/p' configure.ac` -eval "$apiver_cmd" - # Sanity checks. if test -z "$VERSION"; then echo "$me: cannot find VERSION" >&2 @@ -96,11 +91,8 @@ dosubst automake-$APIVERSION/Automake/Config.in \ dosubst m4/amversion.in m4/amversion.m4 # Create temporary replacement for aclocal and automake. -for p in bin/aclocal bin/automake; do - dosubst $p.in $p.tmp - $PERL -w bin/gen-perl-protos $p.tmp > $p.tmp2 - mv -f $p.tmp2 $p.tmp -done +dosubst bin/aclocal.in bin/aclocal.tmp +dosubst bin/automake.in bin/automake.tmp # Create required makefile snippets. $PERL ./gen-testsuite-part > t/testsuite-part.tmp |