]> 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:56:14 +0000 (17:56 -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.
(cherry picked from commit b733bcd00e6fc8db45c86dc289938a28c1bf72d8)

ChangeLog
bootstrap.conf

index 34b34f7c7c5355cb4eef77aacba10cf84acb1bee..f16e05657dfcfb5d814d51e4d025654ce85da52f 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-25  Joel E. Denny  <joeldenny@joeldenny.org>
 
        i18n: fix untranslatable string.
index b14cabd66641ac471f1f5106a6a5cb58b6f7e129..be1c83d7f31560cc75c34dedbeefc68879c4a718 100644 (file)
@@ -67,3 +67,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]
+}