[latex3-commits] [git/LaTeX3-latex3-latex3] docstrip: Drop use of l3docstrip for unpacking (e3e6efe0d)
Joseph Wright
joseph.wright at morningstar2.co.uk
Thu Feb 25 13:38:39 CET 2021
Repository : https://github.com/latex3/latex3
On branch : docstrip
Link : https://github.com/latex3/latex3/commit/e3e6efe0d04b3b49a60fcb3e1eff6ab2be499d93
>---------------------------------------------------------------
commit e3e6efe0d04b3b49a60fcb3e1eff6ab2be499d93
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Feb 25 12:34:58 2021 +0000
Drop use of l3docstrip for unpacking
This makes life. a lot less complicated.
>---------------------------------------------------------------
e3e6efe0d04b3b49a60fcb3e1eff6ab2be499d93
build-config.lua | 3 +--
l3backend/build.lua | 7 +------
l3kernel/build.lua | 1 -
3 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/build-config.lua b/build-config.lua
index 07ae9ab84..5b321dc3f 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -2,7 +2,6 @@
checkdeps = checkdeps or {maindir .. "/l3backend", maindir .. "/l3kernel"}
typesetdeps = typesetdeps or checkdeps
-unpackdeps = unpackdeps or {maindir .. "/l3kernel"}
checkengines = checkengines
or {"pdftex", "xetex", "luatex", "ptex", "uptex"}
@@ -96,7 +95,7 @@ local function fmt(engines,dest)
-- Use .ini files if available
local src = "latex.ltx"
local ini = string.gsub(engine,"tex","") .. "latex.ini"
- if fileexists(maindir .. "/support/" .. ini) then
+ if fileexists(supportdir .. "/" .. ini) then
src = ini
end
print("Building format for " .. engine)
diff --git a/l3backend/build.lua b/l3backend/build.lua
index d3fe8be40..c3a92a2c8 100644
--- a/l3backend/build.lua
+++ b/l3backend/build.lua
@@ -15,12 +15,7 @@ tagfiles = {"*.dtx", "CHANGELOG.md", "README.md", "*.ins"}
typesetfiles = {"l3backend-code.tex"}
unpackfiles = {"l3backend.ins"}
--- As we need l3docstrip, a bit of 'fun'
-supportdir = maindir
-unpacksuppfiles = {"/support/docstrip.tex","/l3kernel/l3docstrip.dtx"}
-
--- No deps other than the test system
-unpackdeps = { }
+-- Avoid a circular ref.
typesetdeps = {maindir .. "/l3kernel"}
-- Get the .pro files in the right place
diff --git a/l3kernel/build.lua b/l3kernel/build.lua
index df6b9c54f..1edb903f7 100644
--- a/l3kernel/build.lua
+++ b/l3kernel/build.lua
@@ -46,7 +46,6 @@ unpackfiles = {"l3.ins"}
checkdeps = {maindir .. "/l3backend"}
typesetdeps = typesetdeps
-unpackdeps = { }
-- Load the common build code
dofile(maindir .. "/build-config.lua")
More information about the latex3-commits
mailing list.