]> git.saurik.com Git - bison.git/commitdiff
build: don't require src/bison during bootstrap.
authorJoel E. Denny <joeldenny@joeldenny.org>
Sun, 25 Apr 2010 21:44:43 +0000 (17:44 -0400)
committerJoel E. Denny <joeldenny@joeldenny.org>
Sun, 25 Apr 2010 21:47:46 +0000 (17:47 -0400)
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.

ChangeLog
bootstrap.conf

index 98d8eaf463d44b95e8ccb8d45c844eb5f2021af1..18b09465a3bb2619f7c393cb8922f3f0c6141020 100644 (file)
--- 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++.
index fc5a0e962c9b14e2c17afb0a6f90be1a9d064c5c..c8993feddda306688b46dd604e52a3d39403fca7 100644 (file)
@@ -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]
+}