[latex3-commits] [git/LaTeX3-latex3-l3build] master: Typeset docs before doing local install (e404a17)

Joseph Wright joseph.wright at morningstar2.co.uk
Sat Sep 22 18:10:30 CEST 2018


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

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

commit e404a17889adf703212a9d3426c9993859806c2a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Sep 22 17:10:30 2018 +0100

    Typeset docs before doing local install
    
    This means a --dry-run is a lot more useful!


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

e404a17889adf703212a9d3426c9993859806c2a
 l3build-install.lua |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/l3build-install.lua b/l3build-install.lua
index ca2ae33..f4d51e5 100644
--- a/l3build-install.lua
+++ b/l3build-install.lua
@@ -159,11 +159,6 @@ function install_files(target,full,dry_run)
 
   local installlist = excludelist(unpackdir,installfiles,{scriptfiles})
 
-  errorlevel = install_files(unpackdir,"tex",{installlist})
-    + install_files(unpackdir,"bibtex/bst",{bstfiles},module,true)
-    + install_files(unpackdir,"makeindex",{makeindexfiles},module,true)
-    + install_files(unpackdir,"scripts",{scriptfiles},module)
-  if errorlevel ~= 0 then return errorlevel end
   if full then
     errorlevel = doc()
     if errorlevel ~= 0 then return errorlevel end
@@ -212,6 +207,14 @@ function install_files(target,full,dry_run)
       end
     end
   end
+
+  if errorlevel ~= 0 then return errorlevel end
+
+  errorlevel = install_files(unpackdir,"tex",{installlist})
+    + install_files(unpackdir,"bibtex/bst",{bstfiles},module,true)
+    + install_files(unpackdir,"makeindex",{makeindexfiles},module,true)
+    + install_files(unpackdir,"scripts",{scriptfiles},module)
+  
   return errorlevel
 end
 





More information about the latex3-commits mailing list