diff options
author | Norbert Preining <norbert@preining.info> | 2022-09-16 03:01:41 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-09-16 03:01:41 +0000 |
commit | 3d3e0a1ec600d13b4db750f4b15dbaa7bad36781 (patch) | |
tree | 9b945a76aadc072cc646c5c22b1913d626987567 /macros/latex/contrib/l3build | |
parent | 6d44c638512eb736c41551c5887b4475a14935bf (diff) |
CTAN sync 202209160301
Diffstat (limited to 'macros/latex/contrib/l3build')
-rw-r--r-- | macros/latex/contrib/l3build/CHANGELOG.md | 8 | ||||
-rw-r--r-- | macros/latex/contrib/l3build/README.md | 2 | ||||
-rw-r--r-- | macros/latex/contrib/l3build/l3build-install.lua | 8 | ||||
-rw-r--r-- | macros/latex/contrib/l3build/l3build.1 | 2 | ||||
-rw-r--r-- | macros/latex/contrib/l3build/l3build.dtx | 13 | ||||
-rwxr-xr-x | macros/latex/contrib/l3build/l3build.lua | 2 | ||||
-rw-r--r-- | macros/latex/contrib/l3build/l3build.pdf | bin | 741923 -> 742080 bytes |
7 files changed, 25 insertions, 10 deletions
diff --git a/macros/latex/contrib/l3build/CHANGELOG.md b/macros/latex/contrib/l3build/CHANGELOG.md index 20d7a61bbb..c83c3fc3b0 100644 --- a/macros/latex/contrib/l3build/CHANGELOG.md +++ b/macros/latex/contrib/l3build/CHANGELOG.md @@ -7,6 +7,11 @@ this project uses date-based 'snapshot' version identifiers. ## [Unreleased] +## [2022-09-15] + +### Fixed +- Copying of nested directories + ## [2022-04-19] ### Changed @@ -598,7 +603,8 @@ this project uses date-based 'snapshot' version identifiers. - Rationalise short option names: removed `-d`, `-E`, `-r` - Target `cmdcheck`: specific to LaTeX kernel work -[Unreleased]: https://github.com/latex3/l3build/compare/2022-04-19...HEAD +[Unreleased]: https://github.com/latex3/l3build/compare/2022-09-15...HEAD +[2022-09-15]: https://github.com/latex3/l3build/compare/2022-04-19...2022-09-15 [2022-04-19]: https://github.com/latex3/l3build/compare/2022-04-12...2022-04-19 [2022-04-12]: https://github.com/latex3/l3build/compare/2022-03-15...2022-04-12 [2022-03-15]: https://github.com/latex3/l3build/compare/2022-02-24...2022-03-15 diff --git a/macros/latex/contrib/l3build/README.md b/macros/latex/contrib/l3build/README.md index ed9a727216..bb05be7e4d 100644 --- a/macros/latex/contrib/l3build/README.md +++ b/macros/latex/contrib/l3build/README.md @@ -1,7 +1,7 @@ l3build: a testing and building system for LaTeX ================================================= -Release 2022-04-19 +Release 2022-09-15 Overview -------- diff --git a/macros/latex/contrib/l3build/l3build-install.lua b/macros/latex/contrib/l3build/l3build-install.lua index baea5a9a42..64d29fc590 100644 --- a/macros/latex/contrib/l3build/l3build-install.lua +++ b/macros/latex/contrib/l3build/l3build-install.lua @@ -327,9 +327,17 @@ function install_files(target,full,dry_run) if errorlevel ~= 0 then return errorlevel end + -- Track created destination directories to avoid overhead from + -- repeatedly creating them + local destination_dirs = {} + -- Files are all copied in one shot: this ensures that cleandir() -- can't be an issue even if there are complex set-ups for _,v in ipairs(installmap) do + if not destination_dirs[v.dest] then + mkdir(v.dest) + destination_dirs[v.dest] = true + end errorlevel = cp(v.file,v.source,v.dest) if errorlevel ~= 0 then return errorlevel end end diff --git a/macros/latex/contrib/l3build/l3build.1 b/macros/latex/contrib/l3build/l3build.1 index f3051302fd..a0b54c3507 100644 --- a/macros/latex/contrib/l3build/l3build.1 +++ b/macros/latex/contrib/l3build/l3build.1 @@ -1,4 +1,4 @@ -.TH l3build 1 "2022-04-19" +.TH l3build 1 "2022-09-15" .SH NAME l3build \- Checking and building packages .SH SYNOPSIS diff --git a/macros/latex/contrib/l3build/l3build.dtx b/macros/latex/contrib/l3build/l3build.dtx index 64ae3c39cf..efdadd7685 100644 --- a/macros/latex/contrib/l3build/l3build.dtx +++ b/macros/latex/contrib/l3build/l3build.dtx @@ -206,7 +206,6 @@ \end{longtable} \endgroup } -\newcommand\code{\texttt} \newcommand\var{\texttt} \usepackage[procnames]{listings} \lstset{ @@ -237,7 +236,7 @@ % }^^A % } % -% \date{Released 2022-04-19} +% \date{Released 2022-09-15} % % \maketitle % \tableofcontents @@ -510,7 +509,7 @@ % The documentation compilation is performed with the \var{typesetexe} binary (default \texttt{pdflatex}), with options \var{typesetopts}. % Additional \TeX{} material defined in \var{typesetcmds} is passed to the document (e.g., for writing |\\PassOptionsToClass{l3doc}{letterpaper}|, and so on---note that backslashes need to be escaped in Lua strings). % -% Files that match |typesetsuppfiles| in the |support| directory (|supportdir|) are copied into the |build/local| directory (|localdir|) for the typesetting compilation process. +% Files that match |typesetsuppfiles| in the |support| directory (|supportdir|) are copied into the |build/doc| directory (|typesetdir|) for the typesetting compilation process. % Additional dependencies listed in the \var{typesetdeps} variable (empty by default) will also be installed. % % Source files specified in \var{sourcefiles} and \var{typesetsourcefiles} @@ -714,7 +713,7 @@ % \label{fig:configs} % \end{figure} % -% To allow selection of a one or more configurations, and to allow saving of +% To allow selection of one or more configurations, and to allow saving of % |.tlg| files in non-standard configurations, the |--config| (|-c|) option may % be used. This works in the same way as |--engine|: it takes a comma list of % configurations to apply, overriding \var{checkconfigs}. @@ -1474,11 +1473,13 @@ % For example, to choose to use \LuaTeX{} for one file when \var{typesetexe} % is |pdftex| % \begin{verbatim} -% specialtypesetting.foo = {cmd = "luatex -interaction=nonstopmode"} +% specialtypesetting = specialtypesetting or {} +% specialtypesetting["foo.tex"] = {cmd = "luatex -interaction=nonstopmode"} % \end{verbatim} % or to select an entirely different typesetting function % \begin{verbatim} -% specialtypesetting.foo = {func = typeset_foo} +% specialtypesetting = specialtypesetting or {} +% specialtypesetting["foo.tex"] = {func = typeset_foo} % \end{verbatim} % % \subsection{Automated upload to CTAN} diff --git a/macros/latex/contrib/l3build/l3build.lua b/macros/latex/contrib/l3build/l3build.lua index 72d67d2e1c..ebca82423f 100755 --- a/macros/latex/contrib/l3build/l3build.lua +++ b/macros/latex/contrib/l3build/l3build.lua @@ -25,7 +25,7 @@ for those people who are interested. --]] -- Version information -release_date = "2022-04-19" +release_date = "2022-09-15" -- File operations are aided by the LuaFileSystem module local lfs = require("lfs") diff --git a/macros/latex/contrib/l3build/l3build.pdf b/macros/latex/contrib/l3build/l3build.pdf Binary files differindex 3f4e8750c2..3420d198a0 100644 --- a/macros/latex/contrib/l3build/l3build.pdf +++ b/macros/latex/contrib/l3build/l3build.pdf |