commit 5c02df23669063ca28bbfc64e0519216ab7fe1ca
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Sat Oct 12 19:13:35 2013 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Sat Oct 12 19:13:35 2013 +0000
Update generation of Windows RC version to properly handle -xxx
extensions to version numbers.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2705
---
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.in b/configure.in
index 31e530a5..72664306 100644
--- a/configure.in
+++ b/configure.in
@@ -98,7 +98,7 @@ dnl Automake v1.8.0 is required, please upgrade!
AM_INIT_AUTOMAKE([1.8.0])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
-WINDOWS_RC_VERSION=`echo $PACKAGE_VERSION.0 | sed 's/\./, /g' `
+WINDOWS_RC_VERSION=`echo $PACKAGE_VERSION | sed 's/-.*//; s/\./, /g; s/$/, 0/'`
# This controls the prefix added to the start of program names. For example,
# if this is changed to "lemon-", the programs generated will be named