[latex3-commits] [git/l3build] master: Revert "'Activate' sourcefiledir" (8e31561)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Nov 28 20:45:56 CET 2017


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/8e315618dd27991ecf40bb9cf5d0e32ff9acbf85

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

commit 8e315618dd27991ecf40bb9cf5d0e32ff9acbf85
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Nov 28 19:41:40 2017 +0000

    Revert "'Activate' sourcefiledir"
    
    This reverts commit a708dc64432045df7694bf55ac3dfffdd5c53303.


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

8e315618dd27991ecf40bb9cf5d0e32ff9acbf85
 l3build.lua |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/l3build.lua b/l3build.lua
index bbc3594..62a20bd 100644
--- a/l3build.lua
+++ b/l3build.lua
@@ -872,11 +872,10 @@ function copyctan()
       cp(file, docfiledir, ctandir .. "/" .. ctanpkg)
     end
   end
-  for _,file in pairs(sourcefiles) do
-    cp(file, sourcefiledir, ctandir .. "/" .. ctanpkg)
-  end
-  for _,file in pairs(textfiles) do
-    cp(file, maindir, ctandir .. "/" .. ctanpkg)
+  for _,filetype in pairs({sourcefiles, textfiles}) do
+    for _,file in pairs(filetype) do
+      cp(file, maindir, ctandir .. "/" .. ctanpkg)
+    end
   end
 end
 
@@ -922,7 +921,7 @@ function copytds()
   )
   install(unpackdir, "makeindex", {makeindexfiles}, true)
   install(unpackdir, "bibtex/bst", {bstfiles}, true)
-  install(sourcefiledir, "source", {sourcelist})
+  install(maindir, "source", {sourcelist})
   install(unpackdir, "tex", {installfiles})
 end
 
@@ -1925,7 +1924,7 @@ function cmdcheck()
     end
   end
   for _,file in pairs(sourcefiles) do
-    cp(file, sourcefiledir, typesetdir)
+    cp(file, maindir, typesetdir)
   end
   local engine = gsub(stdengine, "tex$", "latex")
   local localdir = abspath(localdir)
@@ -2087,13 +2086,13 @@ function doc(files)
     end
   end
   for _,file in pairs(sourcefiles) do
-    cp(file, sourcefiledir, typesetdir)
+    cp(file, maindir, typesetdir)
   end
   for _,i in ipairs(typesetsuppfiles) do
     cp(i, supportdir, typesetdir)
   end
   depinstall(typesetdeps)
-  unpack({sourcefiles, typesetsourcefiles}, {sourcefiledir, docfiledir})
+  unpack({sourcefiles, typesetsourcefiles}, {maindir, docfiledir})
   -- Main loop for doc creation
   local done = {}
   for _, typesetfiles in ipairs({typesetdemofiles, typesetfiles}) do





More information about the latex3-commits mailing list