[latex3-commits] [l3svn] 02/02: l3build: Make TDS creation the standard

noreply at latex-project.org noreply at latex-project.org
Fri Oct 9 10:10:27 CEST 2015


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit c0a654d4736fcdf94362414a593749bc99c2e9b0
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Oct 9 09:09:46 2015 +0100

    l3build: Make TDS creation the standard
    
    We've now got the process working well: eveyone using l3build
    is going to want this (CTAN are quite happy).
---
 build-config.lua    |    2 --
 l3build/l3build.dtx |    4 ++--
 l3build/l3build.lua |    4 +++-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/build-config.lua b/build-config.lua
index 4e5a463..020434d 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -11,8 +11,6 @@ checksuppfiles  = checksuppfiles  or {"minimal.cls", "regression-test.cfg"}
 unpacksuppfiles = unpacksuppfiles or {"docstrip.tex"}
 versionfiles    = versionfiles    or {"*.dtx", "README.md"}
 
-packtdszip  = true
-
 typesetcmds = typesetcmds or "\\AtBeginDocument{\\DisableImplementation}"
 
 if checksearch == nil then
diff --git a/l3build/l3build.dtx b/l3build/l3build.dtx
index a585e61..894b580 100644
--- a/l3build/l3build.dtx
+++ b/l3build/l3build.dtx
@@ -154,7 +154,7 @@
 \luavarseparator
 \luavarset{asciiengines}{\{"pdftex"\}}{Engines which should log as sure ASCII}
 \luavarset{checkruns}   {1}           {How many times to run a check file before comparing the log.}
-\luavarset{packtdszip}  {false}       {Build a TDS-style zip file for CTAN?}
+\luavarset{packtdszip}  {true}        {Build a TDS-style zip file for CTAN?}
 \luavarset{scriptname}  {"build.lua"} {Name of script used in dependencies.}
 \luavarset{typesetcmds} {""}          {Instructions to be passed to \TeX{} when doing typesetting.}
 \luavarset{versionform} {""}          {Nature of version strings for auto-replacement.}
@@ -383,7 +383,7 @@
 % \begin{buildcmd}{ctan}
 % Creates an archive of the package and its documentation, suitable for uploading to CTAN
 % The archive is compiled in \var{distribdir}, and if the results are successful the resultant |.zip| file is moved into the same directory as the build script.
-% If \var{packtdszip} is set true then  the building process includes a |.tds.zip| file containing the `\TeX\ Directory Structure' layout of the package or bundle.
+% If \var{packtdszip} is set |true| then the building process includes a |.tds.zip| file containing the `\TeX\ Directory Structure' layout of the package or bundle.
 % The archive therefore may contain two `views' of the package:
 % \begin{Verbatim}
 % abc.zip/
diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index 7238c9a..f30a58c 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -149,7 +149,9 @@ makeindexopts = makeindexopts or ""
 -- Other required settings
 asciiengines = asciiengines or {"pdftex"}
 checkruns    = checkruns    or 1
-packtdszip   = packtdszip   or false -- Not actually needed but clearer
+if packtdszip == nil then
+  packtdszip = true
+end
 scriptname   = scriptname   or "build.lua" -- Script used in each directory
 typesetcmds  = typesetcmds  or ""
 versionform  = versionform  or ""

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list