[latex3-commits] [git/LaTeX3-latex3-latex3] master: Drop use of l3docstrip for unpacking (309485a65)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Feb 25 15:49:18 CET 2021


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/309485a65f20bf4deacda5356989b56b6af1a749

>---------------------------------------------------------------

commit 309485a65f20bf4deacda5356989b56b6af1a749
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.


>---------------------------------------------------------------

309485a65f20bf4deacda5356989b56b6af1a749
 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.