[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Place fmt file in appropriate dir (f443603f)
Joseph Wright
joseph.wright at morningstar2.co.uk
Wed Oct 2 17:43:40 CEST 2019
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/f443603f7bb8abb2c5cc3fb90e9f6966a966bd09
>---------------------------------------------------------------
commit f443603f7bb8abb2c5cc3fb90e9f6966a966bd09
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed Oct 2 11:28:40 2019 +0100
Place fmt file in appropriate dir
>---------------------------------------------------------------
f443603f7bb8abb2c5cc3fb90e9f6966a966bd09
build-config.lua | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/build-config.lua b/build-config.lua
index ba33ae09..df023bcd 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -179,7 +179,7 @@ function update_tag_ltx(file,content,tagname,tagdate)
end
-- Need to build format files
-local function fmt(engines)
+local function fmt(engines,dest)
local function mkfmt(engine)
-- Use .ini files if available
local src = "latex.ltx"
@@ -200,7 +200,7 @@ local function fmt(engines)
if fileexists (unpackdir,"latex.fmt") then
ren(unpackdir,"latex.fmt",fmtname)
end
- cp(fmtname,unpackdir,testdir)
+ cp(fmtname,unpackdir,dest)
return 0
end
@@ -216,6 +216,8 @@ local function fmt(engines)
return 0
end
-function checkinit_hook() return fmt(options["engine"] or checkengines) end
+function checkinit_hook()
+ return fmt(options["engine"] or checkengines,testdir)
+end
-function docinit_hook() return fmt({typesetexe}) end
\ No newline at end of file
+function docinit_hook() return fmt({typesetexe},typesetdir) end
\ No newline at end of file
More information about the latex3-commits
mailing list