diff --git a/configure.ac b/configure.ac index 6d0403a1..ef01af28 100644 --- a/configure.ac +++ b/configure.ac @@ -2,6 +2,7 @@ AC_PREREQ([2.69]) AC_INIT([xrdp], [0.10.80], [xrdp-devel@googlegroups.com]) +AC_DEFINE([VERSION_YEAR], 2024, [Copyright year]) AC_CONFIG_HEADERS(config_ac.h:config_ac-h.in) AM_INIT_AUTOMAKE([1.7.2 foreign]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/sesman/sesman.c b/sesman/sesman.c index 21409c19..6aafbc97 100644 --- a/sesman/sesman.c +++ b/sesman/sesman.c @@ -579,8 +579,9 @@ print_version(void) { g_writeln("xrdp-sesman %s", PACKAGE_VERSION); g_writeln(" The xrdp session manager"); - g_writeln(" Copyright (C) 2004-2023 Jay Sorg, " - "Neutrino Labs, and all contributors."); + g_writeln(" Copyright (C) 2004-%d Jay Sorg, " + "Neutrino Labs, and all contributors.", + VERSION_YEAR); g_writeln(" See https://github.com/neutrinolabs/xrdp for more information."); g_writeln("%s", ""); diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c index db053562..b2f94920 100644 --- a/xrdp/xrdp.c +++ b/xrdp/xrdp.c @@ -53,8 +53,9 @@ print_version(void) { g_writeln("xrdp %s", PACKAGE_VERSION); g_writeln(" A Remote Desktop Protocol Server."); - g_writeln(" Copyright (C) 2004-2020 Jay Sorg, " - "Neutrino Labs, and all contributors."); + g_writeln(" Copyright (C) 2004-%d Jay Sorg, " + "Neutrino Labs, and all contributors.", + VERSION_YEAR); g_writeln(" See https://github.com/neutrinolabs/xrdp for more information."); g_writeln("%s", "");