]> git.saurik.com Git - bison.git/commit
Between Bison releases, manually append `+' to the previous Bison
authorJoel E. Denny <jdenny@ces.clemson.edu>
Tue, 6 Jun 2006 05:23:44 +0000 (05:23 +0000)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Tue, 6 Jun 2006 05:23:44 +0000 (05:23 +0000)
commit7891a7c4493684272f5db705bcb115404f52e6c1
treec8551e1d9dffce136426a707c53c2becd0d05ad7
parent4ad3ed84f659f5ccb02e9f1ab79758d4f4a3cbe3
Between Bison releases, manually append `+' to the previous Bison
release number, and use that as a signal to automatically print the
ChangeLog's CVS Id keyword from --version.  Discussed starting at
<http://lists.gnu.org/archive/html/bison-patches/2006-05/msg00028.html>.
* ChangeLog: Add Id header.
* configure.ac (AC_INIT): Append `+' to `2.3'.
* src/.cvsignore: Add revision.c.
* src/Makefile.am (bison_SOURCES): Add revision.c and revision.h.
(BUILT_SOURCES): Add revision.c.
(revision.c): New target rule.  This file defines a new global variable
named revision.  It initializes it with either the Id from ChangeLog
or, if VERSION doesn't contain `+', with the empty string.
* src/getargs.c (version): Print the value of revision.
* src/revision.h: Extern revision.
ChangeLog
configure.ac
src/.cvsignore
src/Makefile.am
src/getargs.c
src/revision.h [new file with mode: 0644]