From 5c02df23669063ca28bbfc64e0519216ab7fe1ca Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 12 Oct 2013 19:13:35 +0000 Subject: 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 -- cgit v1.2.3