[latex3-commits] [git/LaTeX3-latex3-latex2e] stdmain: Place fmt file in appropriate dir (e91c718d)
Joseph Wright
joseph.wright at morningstar2.co.uk
Wed Oct 2 12:28:40 CEST 2019
Repository : https://github.com/latex3/latex2e
On branch : stdmain
Link : https://github.com/latex3/latex2e/commit/e91c718d98b7b0e938ad4ea65bb0c10ce5c0a055
>---------------------------------------------------------------
commit e91c718d98b7b0e938ad4ea65bb0c10ce5c0a055
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed Oct 2 11:28:40 2019 +0100
Place fmt file in appropriate dir
>---------------------------------------------------------------
e91c718d98b7b0e938ad4ea65bb0c10ce5c0a055
build-config.lua | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/build-config.lua b/build-config.lua
index faa5a939..7d4cff21 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -173,7 +173,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"
@@ -194,7 +194,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
@@ -210,6 +210,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