summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorLuigi Scarso <luigi.scarso@gmail.com>2022-02-27 12:37:37 +0000
committerLuigi Scarso <luigi.scarso@gmail.com>2022-02-27 12:37:37 +0000
commit1ef45b3ba4ca3c8989458df24e7dd1d4760912dc (patch)
tree676374e22d526c089d1356c8db555231c94db52e /Build
parent89919853af98366b60aa89e21803ba5e54278957 (diff)
Updated copyright; Development id also with --version.
git-svn-id: svn://tug.org/texlive/trunk@62224 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/luatexdir/ChangeLog3
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/luainit.c9
-rw-r--r--Build/source/texk/web2c/luatexdir/luatex_svnversion.h5
3 files changed, 14 insertions, 3 deletions
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 <luigi.scarso@gmail.com>
+ * Development id also with --version.
+
2022-02-26 Luigi Scarso <luigi.scarso@gmail.com>
* 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 <http://www.gnu.org/licenses/>.
#include <locale.h>
+#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