summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel E. Denny <joeldenny@joeldenny.org>2010-04-25 17:44:43 -0400
committerJoel E. Denny <joeldenny@joeldenny.org>2010-04-25 17:47:46 -0400
commitb733bcd00e6fc8db45c86dc289938a28c1bf72d8 (patch)
tree88325dbf95a268c5d464ff2095bea0ca6541177c
parentcb76b1f1a343642c46bbfa2c4a99ae537b22bd9f (diff)
downloadbison-b733bcd00e6fc8db45c86dc289938a28c1bf72d8.tar.gz
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.
-rw-r--r--ChangeLog8
-rw-r--r--bootstrap.conf7
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 98d8eaf4..18b09465 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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-11 Joel E. Denny <joeldenny@joeldenny.org>
* NEWS (2.4.3): Mention fix for Sun Studio C++.
diff --git a/bootstrap.conf b/bootstrap.conf
index fc5a0e96..c8993fed 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -65,3 +65,10 @@ excluded_files='
# In directories like lib/, m4/, and po/, generate both these files because we
# still try to support CVS emulation.
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]
+}