CONFIG: bump API to 1906 (pre-release)

- adjust copyright dates for manpages
This commit is contained in:
Mark Olesen 2019-06-13 18:22:10 +02:00 committed by Andrew Heather
parent b01611a126
commit f05ff81722
3 changed files with 9 additions and 3 deletions

View File

@ -1,2 +1,2 @@
api=1904
api=1906
patch=0

View File

@ -33,6 +33,12 @@ License
namespace Foam
{
// Convert api number (YYMM) -> 20YY. Eg, 1906 -> 2019
static inline int apiYear()
{
return 2000 + (foamVersion::api / 100);
}
// manpage Footer
static inline void printManFooter()
{
@ -40,7 +46,7 @@ static inline void printManFooter()
<< "Online documentation "
<< "https://www.openfoam.com/documentation/" << nl
<< ".SH COPYRIGHT" << nl
<< "Copyright \\(co 2018 OpenCFD Ltd." << nl;
<< "Copyright \\(co 2018-" << apiYear() << " OpenCFD Ltd." << nl;
}

View File

@ -1,5 +1,5 @@
#-------------------------------*- makefile -*---------------------------------
WM_VERSION = OPENFOAM=1904
WM_VERSION = OPENFOAM=1906
AR = ar
ARFLAGS = cr