build: don't require src/bison during bootstrap.

Suggested by Eric Blake at
<http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00003.html>.
* bootstrap.conf (bootstrap_epilogue): New function to make sure
src/parse-gram.[ch] are stamped later than src/parse-gram.y.
(cherry picked from commit b733bcd00e)
This commit is contained in:
Joel E. Denny
2010-04-25 17:44:43 -04:00
parent c1bd4b2b6f
commit a7ddefd1c2
2 changed files with 15 additions and 0 deletions

View File

@@ -1,3 +1,11 @@
2010-04-25 Joel E. Denny <joeldenny@joeldenny.org>
build: don't require src/bison during bootstrap.
Suggested by Eric Blake at
<http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00003.html>.
* bootstrap.conf (bootstrap_epilogue): New function to make sure
src/parse-gram.[ch] are stamped later than src/parse-gram.y.
2010-04-25 Joel E. Denny <joeldenny@joeldenny.org> 2010-04-25 Joel E. Denny <joeldenny@joeldenny.org>
i18n: fix untranslatable string. i18n: fix untranslatable string.

View File

@@ -67,3 +67,10 @@ excluded_files='
# In directories like lib/, m4/, and po/, generate both these files because we # In directories like lib/, m4/, and po/, generate both these files because we
# still try to support CVS emulation. # still try to support CVS emulation.
vc_ignore='.cvsignore .gitignore' vc_ignore='.cvsignore .gitignore'
bootstrap_epilogue()
{
# Make sure we don't need src/bison, which usually doesn't exist at
# the time of a bootstrap.
touch src/parse-gram.[ch]
}