Skip to content

Commit 35fd0f0

Browse files
committed
Update build.lua
1 parent c139364 commit 35fd0f0

File tree

2 files changed

+15
-25
lines changed

2 files changed

+15
-25
lines changed

QMB.pdf

0 Bytes
Binary file not shown.

build.lua

Lines changed: 15 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
11
--[==========================================[--
2-
L3BUILD FILE FOR [PHY5047]QMB
3-
Check PDF File & Directory After Build
2+
L3BUILD FILE FOR "[PHY5047QMB"
43
--]==========================================]--
54

6-
--[==========================================[--
7-
Basic Information
8-
Do Check Before Upload
9-
--]==========================================]--
105
module = "QMB"
116
version = "2025-11-16"
12-
13-
--[==========================================[--
14-
Build, Pack Release
15-
Do not Modify Unless Necessary
16-
--]==========================================]--
177
ctanzip = module
188
excludefiles = {"*~"}
199
suppdirs = {"chapter", "media"}
@@ -34,17 +24,17 @@ function tex(file,dir,cmd)
3424
cmd = cmd or typesetexe .. " " .. typesetopts
3525
return run(dir, cmd .. file)
3626
end
37-
-- function copyctan()
38-
-- local pkgdir = ctandir .. "/" .. ctanpkg
39-
-- mkdir(pkgdir)
40-
-- for _,main in ipairs({typesetsuppfiles, pdffiles}) do
41-
-- for _,glob in pairs(main) do
42-
-- cp(glob, typesetdir, pkgdir)
43-
-- end
44-
-- end
45-
-- local pkgsuppdir = ctandir .. "/" .. ctanpkg .. "/" .. supportdir
46-
-- mkdir(pkgsuppdir)
47-
-- for _,supptab in pairs(typesetsuppfiles) do
48-
-- cp(supptab, supportdir, pkgsuppdir)
49-
-- end
50-
-- end
27+
function copyctan()
28+
local pkgdir = ctandir .. "/" .. ctanpkg
29+
mkdir(pkgdir)
30+
for _,main in ipairs({typesetsuppfiles, pdffiles}) do
31+
for _,glob in pairs(main) do
32+
cp(glob, typesetdir, pkgdir)
33+
end
34+
end
35+
local pkgsuppdir = ctandir .. "/" .. ctanpkg .. "/" .. supportdir
36+
mkdir(pkgsuppdir)
37+
for _,supptab in pairs(typesetsuppfiles) do
38+
cp(supptab, supportdir, pkgsuppdir)
39+
end
40+
end

0 commit comments

Comments
 (0)