mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
Also pass --install to the second invocation of autoreconf, to let automake install its files.
This commit is contained in:
23
bootstrap
23
bootstrap
@@ -2,13 +2,22 @@
|
|||||||
|
|
||||||
echo "Bootstrapping CVS Bison..."
|
echo "Bootstrapping CVS Bison..."
|
||||||
|
|
||||||
autoreconf --force --install --verbose
|
# This will run gettextize which will patch some files, and cause
|
||||||
|
# autoconf to choke (because for instance intl/Makefile is registered
|
||||||
|
# several times).
|
||||||
|
autoreconf --verbose --install --force
|
||||||
|
|
||||||
# Because of Gettext
|
# gettextize modified these files: restore them.
|
||||||
mv -f m4/Makefile.am~ m4/Makefile.am
|
for f in m4/Makefile.am Makefile.am configure.in
|
||||||
mv -f Makefile.am~ Makefile.am
|
do
|
||||||
mv -f configure.in~ configure.in
|
if test -f "$f~"; then
|
||||||
touch m4/Makefile.am Makefile.am configure.in
|
mv -f "$f~" "$f"
|
||||||
|
touch "$f"
|
||||||
|
fi
|
||||||
|
done
|
||||||
rm -f po/Makevars.template
|
rm -f po/Makevars.template
|
||||||
|
|
||||||
autoreconf --verbose
|
# Since some files were restored, some files must probably be remade.
|
||||||
|
# But automake could not install all of its files, so pass --install
|
||||||
|
# for it.
|
||||||
|
autoreconf --verbose --install
|
||||||
|
|||||||
Reference in New Issue
Block a user