Commit f05ff817 authored by Mark Olesen's avatar Mark Olesen Committed by Andrew Heather
Browse files

CONFIG: bump API to 1906 (pre-release)

- adjust copyright dates for manpages
parent b01611a1
......@@ -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;
}
......
#-------------------------------*- makefile -*---------------------------------
WM_VERSION = OPENFOAM=1904
WM_VERSION = OPENFOAM=1906
AR = ar
ARFLAGS = cr
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment