[latex3-commits] [git/LaTeX3-latex3-latex3] master: Drop support for "texlua build.lua <target>" (37fb50ff1)
Joseph Wright
joseph.wright at morningstar2.co.uk
Fri Feb 5 09:54:47 CET 2021
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/37fb50ff11d07a6cda3183110110e5605fe2f1c9
>---------------------------------------------------------------
commit 37fb50ff11d07a6cda3183110110e5605fe2f1c9
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Feb 5 08:54:47 2021 +0000
Drop support for "texlua build.lua <target>"
This will make life a lot easier in cleaning up some
of l3build.
>---------------------------------------------------------------
37fb50ff11d07a6cda3183110110e5605fe2f1c9
build.lua | 7 -------
l3backend/build.lua | 6 ------
l3experimental/build.lua | 7 -------
l3experimental/l3benchmark/build.lua | 7 -------
l3experimental/l3bitset/build.lua | 7 -------
l3experimental/l3color/build.lua | 7 -------
l3experimental/l3draw/build.lua | 7 -------
l3experimental/l3graphics/build.lua | 7 -------
l3experimental/l3pdf/build.lua | 7 -------
l3experimental/l3str/build.lua | 7 -------
l3experimental/l3sys-shell/build.lua | 7 -------
l3experimental/xcoffins/build.lua | 7 -------
l3experimental/xgalley/build.lua | 7 -------
l3kernel/build.lua | 7 -------
l3packages/build.lua | 7 -------
l3packages/l3doc/build.lua | 7 -------
l3packages/l3doc/examples/build.lua | 7 -------
l3packages/l3keys2e/build.lua | 7 -------
l3packages/xfp/build.lua | 7 -------
l3packages/xfrac/build.lua | 7 -------
l3packages/xparse/build.lua | 7 -------
l3packages/xtemplate/build.lua | 7 -------
l3trial/build.lua | 7 -------
l3trial/l3auxdata/build.lua | 7 -------
l3trial/l3bigint/build.lua | 7 -------
l3trial/l3check/build.lua | 7 -------
l3trial/l3fp-extras/build.lua | 7 -------
l3trial/l3htoks/build.lua | 7 -------
l3trial/l3kernel-extras/build.lua | 7 -------
l3trial/l3ldb/build.lua | 7 -------
l3trial/l3str-format-new/build.lua | 7 -------
l3trial/l3trace/build.lua | 7 -------
l3trial/l3tree/build.lua | 7 -------
l3trial/xbox/build.lua | 7 -------
l3trial/xfont/build.lua | 7 -------
35 files changed, 244 deletions(-)
diff --git a/build.lua b/build.lua
index 28c76d048..d06ef45fa 100644
--- a/build.lua
+++ b/build.lua
@@ -61,10 +61,3 @@ function main(target)
os.exit(1)
end
end
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3backend/build.lua b/l3backend/build.lua
index 715389ff2..54ce048db 100644
--- a/l3backend/build.lua
+++ b/l3backend/build.lua
@@ -94,9 +94,3 @@ such, these are distributed separately from
an independent schedule.
]]
}
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
diff --git a/l3experimental/build.lua b/l3experimental/build.lua
index 78827b6b4..9ddad8061 100644
--- a/l3experimental/build.lua
+++ b/l3experimental/build.lua
@@ -48,10 +48,3 @@ The present release includes:
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3experimental/l3benchmark/build.lua b/l3experimental/l3benchmark/build.lua
index 029524ef8..76621a05d 100644
--- a/l3experimental/l3benchmark/build.lua
+++ b/l3experimental/l3benchmark/build.lua
@@ -12,10 +12,3 @@ maindir = "../.."
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3experimental/l3bitset/build.lua b/l3experimental/l3bitset/build.lua
index 095e46bac..d0e788274 100644
--- a/l3experimental/l3bitset/build.lua
+++ b/l3experimental/l3bitset/build.lua
@@ -14,10 +14,3 @@ typesetfiles = {"l3bitset.dtx"}
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3experimental/l3color/build.lua b/l3experimental/l3color/build.lua
index 878ceb13f..9eca6db07 100644
--- a/l3experimental/l3color/build.lua
+++ b/l3experimental/l3color/build.lua
@@ -12,10 +12,3 @@ maindir = "../.."
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3experimental/l3draw/build.lua b/l3experimental/l3draw/build.lua
index 327a7aebf..b161e4347 100644
--- a/l3experimental/l3draw/build.lua
+++ b/l3experimental/l3draw/build.lua
@@ -18,10 +18,3 @@ typesetdeps = checkdeps
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3experimental/l3graphics/build.lua b/l3experimental/l3graphics/build.lua
index afdd3bc33..902443dc6 100644
--- a/l3experimental/l3graphics/build.lua
+++ b/l3experimental/l3graphics/build.lua
@@ -12,10 +12,3 @@ maindir = "../.."
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3experimental/l3pdf/build.lua b/l3experimental/l3pdf/build.lua
index e9ac3aad0..7e8070e8b 100644
--- a/l3experimental/l3pdf/build.lua
+++ b/l3experimental/l3pdf/build.lua
@@ -17,10 +17,3 @@ checksearch = true
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3experimental/l3str/build.lua b/l3experimental/l3str/build.lua
index 3c4b0ef78..0e7c34d7a 100644
--- a/l3experimental/l3str/build.lua
+++ b/l3experimental/l3str/build.lua
@@ -15,10 +15,3 @@ installfiles = {"*.def", "*.sty"}
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3experimental/l3sys-shell/build.lua b/l3experimental/l3sys-shell/build.lua
index 906c4dcdf..2b3a3357e 100644
--- a/l3experimental/l3sys-shell/build.lua
+++ b/l3experimental/l3sys-shell/build.lua
@@ -15,10 +15,3 @@ checkopts = "-interaction=nonstopmode --shell-escape"
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3experimental/xcoffins/build.lua b/l3experimental/xcoffins/build.lua
index d919c061d..4e8a7b0ec 100644
--- a/l3experimental/xcoffins/build.lua
+++ b/l3experimental/xcoffins/build.lua
@@ -17,10 +17,3 @@ typesetdeps = {maindir .. "/l3packages/xparse", maindir .. "/l3packages/xtemplat
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3experimental/xgalley/build.lua b/l3experimental/xgalley/build.lua
index 0de77a53d..68e5e1742 100644
--- a/l3experimental/xgalley/build.lua
+++ b/l3experimental/xgalley/build.lua
@@ -15,10 +15,3 @@ checkdeps = {maindir .. "/l3packages/xparse", maindir . "/l3packages/xtemplate"
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3kernel/build.lua b/l3kernel/build.lua
index 5bab5da89..623a3c434 100644
--- a/l3kernel/build.lua
+++ b/l3kernel/build.lua
@@ -154,10 +154,3 @@ target_list.cmdcheck =
func = cmdcheck,
desc = "Run cmd cover test"
}
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3packages/build.lua b/l3packages/build.lua
index bcc29b757..8a876fbfd 100644
--- a/l3packages/build.lua
+++ b/l3packages/build.lua
@@ -43,10 +43,3 @@ Packages provided:
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3packages/l3doc/build.lua b/l3packages/l3doc/build.lua
index 6cc630381..57f1d9ec8 100644
--- a/l3packages/l3doc/build.lua
+++ b/l3packages/l3doc/build.lua
@@ -20,10 +20,3 @@ checksearch = true
recordstatus = true
testfiledir = ""
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3packages/l3doc/examples/build.lua b/l3packages/l3doc/examples/build.lua
index c93465b74..f8876e2a3 100644
--- a/l3packages/l3doc/examples/build.lua
+++ b/l3packages/l3doc/examples/build.lua
@@ -3,10 +3,3 @@
-- Build script for LaTeX3 "l3doc" example files
module = "l3doc-examples"
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3packages/l3keys2e/build.lua b/l3packages/l3keys2e/build.lua
index 231e853a8..417730e48 100644
--- a/l3packages/l3keys2e/build.lua
+++ b/l3packages/l3keys2e/build.lua
@@ -15,10 +15,3 @@ demofiles = {"l3keys2e-demo.tex"}
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3packages/xfp/build.lua b/l3packages/xfp/build.lua
index 45764c35b..51e03a1c5 100644
--- a/l3packages/xfp/build.lua
+++ b/l3packages/xfp/build.lua
@@ -15,10 +15,3 @@ checkdeps = {maindir .. "/l3packages/xparse"}
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3packages/xfrac/build.lua b/l3packages/xfrac/build.lua
index 86b363d86..ebaf39b25 100644
--- a/l3packages/xfrac/build.lua
+++ b/l3packages/xfrac/build.lua
@@ -17,10 +17,3 @@ typesetdeps = {maindir .. "/l3packages/xparse", maindir .. "/l3packages/xtemplat
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3packages/xparse/build.lua b/l3packages/xparse/build.lua
index 49e947653..b4cf006b9 100644
--- a/l3packages/xparse/build.lua
+++ b/l3packages/xparse/build.lua
@@ -26,10 +26,3 @@ maindir = "../.."
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3packages/xtemplate/build.lua b/l3packages/xtemplate/build.lua
index c0f8f01b7..6687a938e 100644
--- a/l3packages/xtemplate/build.lua
+++ b/l3packages/xtemplate/build.lua
@@ -16,10 +16,3 @@ typesetdeps = {maindir .. "/l3packages/xparse"}
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3trial/build.lua b/l3trial/build.lua
index e7ee198ca..1db615b73 100644
--- a/l3trial/build.lua
+++ b/l3trial/build.lua
@@ -12,10 +12,3 @@ maindir = ".."
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3trial/l3auxdata/build.lua b/l3trial/l3auxdata/build.lua
index c92216d8e..feeb38df6 100644
--- a/l3trial/l3auxdata/build.lua
+++ b/l3trial/l3auxdata/build.lua
@@ -16,10 +16,3 @@ checksearch = true
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3trial/l3bigint/build.lua b/l3trial/l3bigint/build.lua
index 8c7481654..3c4c67f06 100644
--- a/l3trial/l3bigint/build.lua
+++ b/l3trial/l3bigint/build.lua
@@ -12,10 +12,3 @@ maindir = "../.."
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3trial/l3check/build.lua b/l3trial/l3check/build.lua
index 5a43b1804..b3a80d362 100644
--- a/l3trial/l3check/build.lua
+++ b/l3trial/l3check/build.lua
@@ -15,10 +15,3 @@ testfiledir = ""
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3trial/l3fp-extras/build.lua b/l3trial/l3fp-extras/build.lua
index 0877dff50..c9eb8d847 100644
--- a/l3trial/l3fp-extras/build.lua
+++ b/l3trial/l3fp-extras/build.lua
@@ -12,10 +12,3 @@ maindir = "../.."
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3trial/l3htoks/build.lua b/l3trial/l3htoks/build.lua
index 0f7829bed..31f9f5c45 100644
--- a/l3trial/l3htoks/build.lua
+++ b/l3trial/l3htoks/build.lua
@@ -18,10 +18,3 @@ checksearch = true
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3trial/l3kernel-extras/build.lua b/l3trial/l3kernel-extras/build.lua
index 7ebd3db41..05b983150 100644
--- a/l3trial/l3kernel-extras/build.lua
+++ b/l3trial/l3kernel-extras/build.lua
@@ -15,10 +15,3 @@ dofile(maindir .. "/build-config.lua")
-- Non-standard settings (have to be after build-config)
-- checkengines = {"pdftex", "xetex", "luatex"}
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3trial/l3ldb/build.lua b/l3trial/l3ldb/build.lua
index 6ac2626a0..6eedf6609 100644
--- a/l3trial/l3ldb/build.lua
+++ b/l3trial/l3ldb/build.lua
@@ -24,10 +24,3 @@ checksuppfiles =
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3trial/l3str-format-new/build.lua b/l3trial/l3str-format-new/build.lua
index b41536eb4..fb418d6cc 100644
--- a/l3trial/l3str-format-new/build.lua
+++ b/l3trial/l3str-format-new/build.lua
@@ -15,10 +15,3 @@ checksearch = true
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3trial/l3trace/build.lua b/l3trial/l3trace/build.lua
index c34bd1c1e..eea32b004 100644
--- a/l3trial/l3trace/build.lua
+++ b/l3trial/l3trace/build.lua
@@ -12,10 +12,3 @@ maindir = "../.."
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3trial/l3tree/build.lua b/l3trial/l3tree/build.lua
index 636450a61..8a78ed17d 100644
--- a/l3trial/l3tree/build.lua
+++ b/l3trial/l3tree/build.lua
@@ -12,10 +12,3 @@ maindir = "../.."
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3trial/xbox/build.lua b/l3trial/xbox/build.lua
index 9bd0ce92b..ae9c097db 100644
--- a/l3trial/xbox/build.lua
+++ b/l3trial/xbox/build.lua
@@ -16,10 +16,3 @@ typesetdeps = {maindir .. "/l3kernel", maindir .. "/l3packages/xparse"}
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
diff --git a/l3trial/xfont/build.lua b/l3trial/xfont/build.lua
index 02f6fcf6f..1df8e510d 100644
--- a/l3trial/xfont/build.lua
+++ b/l3trial/xfont/build.lua
@@ -22,10 +22,3 @@ checksearch = true
-- Load the common build code
dofile(maindir .. "/build-config.lua")
-
--- Find and run the build system
-kpse.set_program_name("kpsewhich")
-if not release_date then
- dofile(kpse.lookup("l3build.lua"))
-end
-
More information about the latex3-commits
mailing list.