1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-14 01:14:48 +00:00

Version now defined evrywhere by setversion-sh

This commit is contained in:
Alexandre Moine 2016-01-04 19:05:47 +01:00
parent d18f6fb3b4
commit da74e6e976
2 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.68])
AC_INIT([hyperrogue], [7.7h])
AC_INIT([hyperrogue], [7.4h])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
${CXXFLAGS=""}
AC_CONFIG_SRCDIR([hyperpoint.cpp])

2
setversion-sh Normal file → Executable file
View File

@ -7,4 +7,6 @@ export VERNUM=`grep "#define VERNUM " hyper.cpp | sed "s/#define VERNUM //" | se
sed "s/\"ProductVersion\", \"\(.*\)\"/\"ProductVersion\", \"$VER\"/" -i hyper.rc
sed "s/FILEVERSION \(.*\)$/FILEVERSION $VERNUM/" -i hyper.rc
sed "s/PRODUCTVERSION\(.*\)$/PRODUCTVERSION $VERNUM/" -i hyper.rc
# Adjust it in configure.ac
sed "s/AC_INIT.*/AC_INIT([hyperrogue], [$VER])/" -i configure.ac
echo $VER