]> git.saurik.com Git - bison.git/blob - bootstrap
Don't `touch' the files gettextize modified.
[bison.git] / bootstrap
1 #! /bin/sh
2
3 echo "Bootstrapping CVS Bison..."
4
5 # This will run gettextize which will patch some files, and cause
6 # autoconf to choke (because for instance intl/Makefile is registered
7 # several times).
8 autoreconf --verbose --install --force
9
10 # gettextize modified these files: restore them.
11 for f in m4/Makefile.am Makefile.am configure.in
12 do
13 if test -f "$f~"; then
14 mv -f "$f~" "$f"
15 fi
16 done
17 rm -f po/Makevars.template
18
19 # Since some files were restored, some files must probably be remade.
20 # But automake could not install all of its files, so pass --install
21 # for it.
22 autoreconf --verbose --install