From c31ec99b1864a9016a6602c0233da76e105c33e0 Mon Sep 17 00:00:00 2001
From: helly
Date: Sun, 25 May 2008 14:30:45 +0000
Subject: [PATCH] - Automatically update release date and version in
documentation - Prepare new release
---
re2c/CHANGELOG | 5 +++++
re2c/Makefile.am | 2 +-
re2c/config_w32.h | 6 +++---
re2c/configure.in | 4 +++-
re2c/htdocs/index.html | 4 +++-
re2c/htdocs/{manual.html => manual.html.in} | 6 +++---
re2c/re2c.1.in | 2 +-
7 files changed, 19 insertions(+), 10 deletions(-)
rename re2c/htdocs/{manual.html => manual.html.in} (99%)
diff --git a/re2c/CHANGELOG b/re2c/CHANGELOG
index aed6a34c..b79ce123 100644
--- a/re2c/CHANGELOG
+++ b/re2c/CHANGELOG
@@ -1,6 +1,11 @@
Version 0.13.5 (2008-??-??)
---------------------------
+Version 0.13.5 (2008-05-25)
+---------------------------
+- Fixed #1952896 Segfault in re2c::Scanner::scan.
+- Fixed #1952842 Regression.
+
Version 0.13.4 (2008-04-05)
---------------------------
- Added transparent handling of #line directives in input files.
diff --git a/re2c/Makefile.am b/re2c/Makefile.am
index e332e59e..1b50782b 100755
--- a/re2c/Makefile.am
+++ b/re2c/Makefile.am
@@ -17,7 +17,7 @@ YFLAGS = -d
RE2C = re2c$(EXEEXT)
RE2CFLAGS = -bi
-CLEANFILES = parser.cc y.tab.c y.tab.h scanner.cc re2c.1 .version
+CLEANFILES = parser.cc y.tab.c y.tab.h scanner.cc re2c.1 .version htdocs/manual.html.in
DISTCLEANFILES = makerpm re2c.spec README scanner.cc re2c$(EXEEXT)
diff --git a/re2c/config_w32.h b/re2c/config_w32.h
index 7f65ed87..df3db991 100644
--- a/re2c/config_w32.h
+++ b/re2c/config_w32.h
@@ -59,13 +59,13 @@
#define PACKAGE_NAME "re2c"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "re2c 0.13.5.dev"
+#define PACKAGE_STRING "re2c 0.13.5"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "re2c"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "0.13.5.dev"
+#define PACKAGE_VERSION "0.13.5"
/* The size of a `char', as computed by sizeof. */
#define SIZEOF_CHAR 1
@@ -83,7 +83,7 @@
#define STDC_HEADERS 1
/* Version number of package */
-#define VERSION "0.13.5.dev"
+#define VERSION "0.13.5"
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
diff --git a/re2c/configure.in b/re2c/configure.in
index fe54f9a3..faa352e6 100644
--- a/re2c/configure.in
+++ b/re2c/configure.in
@@ -1,9 +1,10 @@
AC_PREREQ([2.57])
-AC_INIT(re2c, 0.13.5.dev, re2c-general@lists.sourceforge.net)
+AC_INIT(re2c, 0.13.5, re2c-general@lists.sourceforge.net)
AM_INIT_AUTOMAKE(re2c, $PACKAGE_VERSION)
AC_CONFIG_SRCDIR(actions.cc)
AM_CONFIG_HEADER(config.h)
+AC_SUBST(PACKAGE_DATE, `date +'%d %b %Y'`)
AC_SUBST(PACKAGE_VERSION)
AC_SUBST(PACKAGE_NAME)
AC_SUBST(PACKAGE_TARNAME)
@@ -59,6 +60,7 @@ re2c.1 \
re2c.spec \
run_tests.sh \
config_w32.h \
+htdocs/manual.html \
])
AC_OUTPUT_COMMANDS([chmod +x makerpm run_tests.sh])
AC_OUTPUT
diff --git a/re2c/htdocs/index.html b/re2c/htdocs/index.html
index 1c9d4569..489d2f5d 100755
--- a/re2c/htdocs/index.html
+++ b/re2c/htdocs/index.html
@@ -80,8 +80,10 @@ fixes which were incorporated.
Changelog
-2008-??-??: 0.13.5
+2008-05-25: 0.13.5
+- Fixed #1952896 Segfault in re2c::Scanner::scan.
+- Fixed #1952842 Regression.
2008-04-05: 0.13.4
Added transparent handling of #line directives in input files.
diff --git a/re2c/htdocs/manual.html b/re2c/htdocs/manual.html.in
similarity index 99%
rename from re2c/htdocs/manual.html
rename to re2c/htdocs/manual.html.in
index 26951477..6fc3263e 100755
--- a/re2c/htdocs/manual.html
+++ b/re2c/htdocs/manual.html.in
@@ -7,7 +7,7 @@
RE2C
Section: User Commands (1)
-Updated: 05 Apr 2008
+Updated: @PACKAGE_DATE@
Index
@@ -675,7 +675,7 @@ else then e detection of end of data/file.
VERSION INFORMATION
-This manpage describes re2c, version 0.13.1.
+This manpage describes re2c, version @PACKAGE_VERSION@.
Index
@@ -701,6 +701,6 @@ else then e detection of end of data/file.
This document was created by man2html, using the manual pages.
-Date: 05 Apr, 2008
+Date: @PACKAGE_DATE@