From 1ef45b3ba4ca3c8989458df24e7dd1d4760912dc Mon Sep 17 00:00:00 2001 From: Luigi Scarso Date: Sun, 27 Feb 2022 12:37:37 +0000 Subject: Updated copyright; Development id also with --version. git-svn-id: svn://tug.org/texlive/trunk@62224 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/luatexdir/ChangeLog | 3 +++ Build/source/texk/web2c/luatexdir/lua/luainit.c | 9 +++++++-- Build/source/texk/web2c/luatexdir/luatex_svnversion.h | 5 ++++- 3 files changed, 14 insertions(+), 3 deletions(-) (limited to 'Build/source/texk/web2c/luatexdir') diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog index 73d286050f6..0eb46e3f13e 100644 --- a/Build/source/texk/web2c/luatexdir/ChangeLog +++ b/Build/source/texk/web2c/luatexdir/ChangeLog @@ -1,3 +1,6 @@ +2022-02-27 Luigi Scarso + * Development id also with --version. + 2022-02-26 Luigi Scarso * write xformattributes and xformresources (thanks to E. Renkema) diff --git a/Build/source/texk/web2c/luatexdir/lua/luainit.c b/Build/source/texk/web2c/luatexdir/lua/luainit.c index c88ebb09656..a566fd25733 100644 --- a/Build/source/texk/web2c/luatexdir/lua/luainit.c +++ b/Build/source/texk/web2c/luatexdir/lua/luainit.c @@ -30,6 +30,8 @@ with LuaTeX; if not, see . #include +#include "luatex_svnversion.h" + extern int load_luatex_core_lua (lua_State * L); /*tex internalized strings: see luatex-api.h */ @@ -443,14 +445,17 @@ static void parse_options(int ac, char **av) } else if (ARGUMENT_IS("help")) { usagehelp(LUATEX_IHELP, BUG_ADDRESS); } else if (ARGUMENT_IS("version")) { + #define STR(tok) STR2(tok) + #define STR2(tok) #tok print_version_banner(); + puts("\nDevelopment id: " STR(luatex_svn_revision)); /* *INDENT-OFF* */ - puts("\n\nExecute '" my_name " --credits' for credits and version details.\n\n" + puts("\nExecute '" my_name " --credits' for credits and version details.\n\n" "There is NO warranty. Redistribution of this software is covered by\n" "the terms of the GNU General Public License, version 2 or (at your option)\n" "any later version. For more information about these matters, see the file\n" "named COPYING and the LuaTeX source.\n\n" - "LuaTeX is Copyright 2021 Taco Hoekwater and the LuaTeX Team.\n"); + "LuaTeX is Copyright 2022 Taco Hoekwater and the LuaTeX Team.\n"); /* *INDENT-ON* */ uexit(0); } else if (ARGUMENT_IS("credits")) { diff --git a/Build/source/texk/web2c/luatexdir/luatex_svnversion.h b/Build/source/texk/web2c/luatexdir/luatex_svnversion.h index 1a5ae5a47ec..c6864a4aeae 100644 --- a/Build/source/texk/web2c/luatexdir/luatex_svnversion.h +++ b/Build/source/texk/web2c/luatexdir/luatex_svnversion.h @@ -1 +1,4 @@ -#define luatex_svn_revision 7499 +#ifndef luatex_svn_revision_h +#define luatex_svn_revision_h +#define luatex_svn_revision 7501 +#endif -- cgit v1.2.3