Fix build with release candidate version of shortened version numbers.
commita93adbe6024e11b76b1b143939afc8bfca88f98c
authorJohannes Sixt <j6t@kdbg.org>
Mon, 20 Jan 2014 06:58:28 +0000 (20 07:58 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Mon, 20 Jan 2014 06:58:28 +0000 (20 07:58 +0100)
treea079227c108acb3d1695534135fee4661acc7ee4
parent6f6d02d092cd846c0a1618baf7fac0aa425f3f1a
Fix build with release candidate version of shortened version numbers.

We have now one fewer number in the version numbers. This means that the
release candidate identifier "rc" is in the third position.

When git.rc is compiled on Windows, we pick the third position of the
version number as one of the arguments of the FILEVERSION statement.
However, all these arguments must be numeric, but "rc0" is not. To make
all arguments numeric, special-case release candidates: use the previous
version number, but with 90 + rc-number.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Makefile