texlive[61143] trunk: l3build (24nov21)

commits+karl at tug.org commits+karl at tug.org
Wed Nov 24 22:30:06 CET 2021


Revision: 61143
          http://tug.org/svn/texlive?view=revision&revision=61143
Author:   karl
Date:     2021-11-24 22:30:05 +0100 (Wed, 24 Nov 2021)
Log Message:
-----------
l3build (24nov21)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
    trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md
    trunk/Master/texmf-dist/doc/latex/l3build/README.md
    trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
    trunk/Master/texmf-dist/doc/man/man1/l3build.1
    trunk/Master/texmf-dist/doc/man/man1/l3build.man1.pdf
    trunk/Master/texmf-dist/scripts/l3build/l3build-typesetting.lua
    trunk/Master/texmf-dist/scripts/l3build/l3build.lua
    trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx

Modified: trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua	2021-11-24 21:29:45 UTC (rev 61142)
+++ trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua	2021-11-24 21:30:05 UTC (rev 61143)
@@ -25,7 +25,7 @@
 --]]
 
 -- Version information
-release_date = "2021-11-12"
+release_date = "2021-11-24"
 
 -- File operations are aided by the LuaFileSystem module
 local lfs = require("lfs")

Modified: trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md	2021-11-24 21:29:45 UTC (rev 61142)
+++ trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md	2021-11-24 21:30:05 UTC (rev 61143)
@@ -7,6 +7,8 @@
 
 ## [Unreleased]
 
+## [2021-11-24]
+
 ## [2021-11-12]
 
 ### Changed
@@ -14,6 +16,8 @@
 
 ### Fixed
 - Allow config names ending with 'lua', as long as they don't end with '.lua'
+- All documentation files are build in a consistent environment with support
+  files visible.
 
 ## [2021-08-28]
 
@@ -517,7 +521,8 @@
 - Rationalise short option names: removed `-d`, `-E`, `-r`
 - Target `cmdcheck`: specific to LaTeX kernel work
 
-[Unreleased]: https://github.com/latex3/l3build/compare/2021-11-12...HEAD
+[Unreleased]: https://github.com/latex3/l3build/compare/2021-11-24...HEAD
+[2021-11-24]: https://github.com/latex3/l3build/compare/2021-11-12...2021-11-24
 [2021-11-12]: https://github.com/latex3/l3build/compare/2021-08-28...2021-11-12
 [2021-08-28]: https://github.com/latex3/l3build/compare/2021-08-27...2021-08-28
 [2021-08-27]: https://github.com/latex3/l3build/compare/2021-05-06...2021-08-27

Modified: trunk/Master/texmf-dist/doc/latex/l3build/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/README.md	2021-11-24 21:29:45 UTC (rev 61142)
+++ trunk/Master/texmf-dist/doc/latex/l3build/README.md	2021-11-24 21:30:05 UTC (rev 61143)
@@ -1,7 +1,7 @@
 l3build: a testing and building system for LaTeX
 =================================================
 
-Release 2021-11-12
+Release 2021-11-24
 
 Overview
 --------

Modified: trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/man/man1/l3build.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/l3build.1	2021-11-24 21:29:45 UTC (rev 61142)
+++ trunk/Master/texmf-dist/doc/man/man1/l3build.1	2021-11-24 21:30:05 UTC (rev 61143)
@@ -1,4 +1,4 @@
-.TH l3build 1 "2021-11-12"
+.TH l3build 1 "2021-11-24"
 .SH NAME
 l3build \- Checking and building packages
 .SH SYNOPSIS

Modified: trunk/Master/texmf-dist/doc/man/man1/l3build.man1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/scripts/l3build/l3build-typesetting.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build-typesetting.lua	2021-11-24 21:29:45 UTC (rev 61142)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-typesetting.lua	2021-11-24 21:30:05 UTC (rev 61143)
@@ -174,7 +174,12 @@
 
 local function docinit()
   -- Set up
+  dep_install(typesetdeps)
+  unpack({sourcefiles, typesetsourcefiles}, {sourcefiledir, docfiledir})
   cleandir(typesetdir)
+  for _,file in pairs(typesetfiles) do
+    cp(file, unpackdir, typesetdir)
+  end
   for _,filetype in pairs(
       {bibfiles, docfiles, typesetfiles, typesetdemofiles}
     ) do
@@ -188,8 +193,6 @@
   for _,file in pairs(typesetsuppfiles) do
     cp(file, supportdir, typesetdir)
   end
-  dep_install(typesetdeps)
-  unpack({sourcefiles, typesetsourcefiles}, {sourcefiledir, docfiledir})
   -- Main loop for doc creation
   local errorlevel = typeset_demo_tasks()
   if errorlevel ~= 0 then
@@ -208,30 +211,28 @@
   local done = {}
   for _,typesetfiles in ipairs({typesetdemofiles,typesetfiles}) do
     for _,glob in pairs(typesetfiles) do
-      for _,dir in ipairs({typesetdir,unpackdir}) do
-        for _,p in ipairs(tree(dir,glob)) do
-          local path,srcname = splitpath(p.cwd)
-          local name = jobname(srcname)
-          if not done[name] then
-            local typeset = true
-            -- Allow for command line selection of files
-            if files and next(files) then
-              typeset = false
-              for _,file in pairs(files) do
-                if name == file then
-                  typeset = true
-                  break
-                end
+      for _,p in ipairs(tree(typesetdir,glob)) do
+        local path,srcname = splitpath(p.cwd)
+        local name = jobname(srcname)
+        if not done[name] then
+          local typeset = true
+          -- Allow for command line selection of files
+          if files and next(files) then
+            typeset = false
+            for _,file in pairs(files) do
+              if name == file then
+                typeset = true
+                break
               end
             end
-            -- Now know if we should typeset this source
-            if typeset then
-              errorlevel = typesetpdf(srcname,path)
-              if errorlevel ~= 0 then
-                return errorlevel
-              else
-                done[name] = true
-              end
+          end
+          -- Now know if we should typeset this source
+          if typeset then
+            errorlevel = typesetpdf(srcname,path)
+            if errorlevel ~= 0 then
+              return errorlevel
+            else
+              done[name] = true
             end
           end
         end

Modified: trunk/Master/texmf-dist/scripts/l3build/l3build.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build.lua	2021-11-24 21:29:45 UTC (rev 61142)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build.lua	2021-11-24 21:30:05 UTC (rev 61143)
@@ -25,7 +25,7 @@
 --]]
 
 -- Version information
-release_date = "2021-11-12"
+release_date = "2021-11-24"
 
 -- File operations are aided by the LuaFileSystem module
 local lfs = require("lfs")

Modified: trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx	2021-11-24 21:29:45 UTC (rev 61142)
+++ trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx	2021-11-24 21:30:05 UTC (rev 61143)
@@ -236,7 +236,7 @@
 %    }^^A
 % }
 %
-% \date{Released 2021-11-12}
+% \date{Released 2021-11-24}
 %
 % \maketitle
 % \tableofcontents



More information about the tex-live-commits mailing list.