ref: 5c02df23669063ca28bbfc64e0519216ab7fe1ca
parent: 4cd5d5027acbfc91a3f546389804e9de4fe6269d
author: Simon Howard <fraggle@gmail.com>
date: Sat Oct 12 15:13:35 EDT 2013
Update generation of Windows RC version to properly handle -xxx extensions to version numbers. Subversion-branch: /branches/v2-branch Subversion-revision: 2705
--- a/configure.in
+++ b/configure.in
@@ -98,7 +98,7 @@
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