[latex3-commits] [git/LaTeX3-latex3-latex2e] master: Allow build scripts to work with old and new l3build calls (e18d284)

Joseph Wright joseph.wright at morningstar2.co.uk
Sat Mar 10 12:05:47 CET 2018


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/e18d28496f5b2a64bb2c158ad4b28a880748a0ac

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

commit e18d28496f5b2a64bb2c158ad4b28a880748a0ac
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Mar 10 11:05:47 2018 +0000

    Allow build scripts to work with old and new l3build calls
    
    This supports both
    
         texlua build.lua command
    
    and
    
        l3build command


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

e18d28496f5b2a64bb2c158ad4b28a880748a0ac
 base/build.lua              |    5 ++++-
 build.lua                   |    5 ++++-
 doc/build.lua               |    5 ++++-
 required/amsmath/build.lua  |    5 ++++-
 required/babel/build.lua    |    4 +++-
 required/cyrillic/build.lua |    5 ++++-
 required/graphics/build.lua |    5 ++++-
 required/tools/build.lua    |    4 +++-
 8 files changed, 30 insertions(+), 8 deletions(-)

diff --git a/base/build.lua b/base/build.lua
index ef38281..28ae6ea 100644
--- a/base/build.lua
+++ b/base/build.lua
@@ -226,4 +226,7 @@ dofile (maindir .. "/build-config.lua")
 
 -- Find and run the build system
 kpse.set_program_name ("kpsewhich")
-dofile (kpse.lookup ("l3build.lua"))
+if not release_date then
+  dofile(kpse.lookup("l3build.lua"))
+end
+
diff --git a/build.lua b/build.lua
index 8c4e032..bde4a84 100644
--- a/build.lua
+++ b/build.lua
@@ -74,4 +74,7 @@ end
 -- Find and run the build system
 kpse.set_program_name ("kpsewhich")
 dofile(("./build-config.lua"))
-dofile (kpse.lookup ("l3build.lua"))
+if not release_date then
+  dofile(kpse.lookup("l3build.lua"))
+end
+
diff --git a/doc/build.lua b/doc/build.lua
index db67dff..9163174 100644
--- a/doc/build.lua
+++ b/doc/build.lua
@@ -38,4 +38,7 @@ dofile (maindir .. "/build-config.lua")
 
 -- Find and run the build system
 kpse.set_program_name ("kpsewhich")
-dofile (kpse.lookup ("l3build.lua"))
+if not release_date then
+  dofile(kpse.lookup("l3build.lua"))
+end
+
diff --git a/required/amsmath/build.lua b/required/amsmath/build.lua
index b57b74b..6c3b546 100644
--- a/required/amsmath/build.lua
+++ b/required/amsmath/build.lua
@@ -27,4 +27,7 @@ dofile (maindir .. "/build-config.lua")
 
 -- Find and run the build system
 kpse.set_program_name ("kpsewhich")
-dofile (kpse.lookup ("l3build.lua"))
+if not release_date then
+  dofile(kpse.lookup("l3build.lua"))
+end
+
diff --git a/required/babel/build.lua b/required/babel/build.lua
index 1dbf2ca..fa83e56 100644
--- a/required/babel/build.lua
+++ b/required/babel/build.lua
@@ -33,4 +33,6 @@ dofile (maindir .. "/build-config.lua")
 
 -- Find and run the build system
 kpse.set_program_name ("kpsewhich")
-dofile (kpse.lookup ("l3build.lua"))
\ No newline at end of file
+if not release_date then
+  dofile(kpse.lookup("l3build.lua"))
+end
diff --git a/required/cyrillic/build.lua b/required/cyrillic/build.lua
index 2791746..e07ee11 100644
--- a/required/cyrillic/build.lua
+++ b/required/cyrillic/build.lua
@@ -22,4 +22,7 @@ dofile (maindir .. "/build-config.lua")
 
 -- Find and run the build system
 kpse.set_program_name ("kpsewhich")
-dofile (kpse.lookup ("l3build.lua"))
+if not release_date then
+  dofile(kpse.lookup("l3build.lua"))
+end
+
diff --git a/required/graphics/build.lua b/required/graphics/build.lua
index 1cd54e9..fca3e5f 100644
--- a/required/graphics/build.lua
+++ b/required/graphics/build.lua
@@ -22,4 +22,7 @@ dofile (maindir .. "/build-config.lua")
 
 -- Find and run the build system
 kpse.set_program_name ("kpsewhich")
-dofile (kpse.lookup ("l3build.lua"))
+if not release_date then
+  dofile(kpse.lookup("l3build.lua"))
+end
+
diff --git a/required/tools/build.lua b/required/tools/build.lua
index 4574e5e..674f7ed 100644
--- a/required/tools/build.lua
+++ b/required/tools/build.lua
@@ -24,4 +24,6 @@ dofile (maindir .. "/build-config.lua")
 
 -- Find and run the build system
 kpse.set_program_name ("kpsewhich")
-dofile (kpse.lookup ("l3build.lua"))
+if not release_date then
+  dofile(kpse.lookup("l3build.lua"))
+end





More information about the latex3-commits mailing list