Skip to content

Commit

Permalink
调整 build.lua 脚本,不包含由 *.dtx 生成的 *.ins
Browse files Browse the repository at this point in the history
  • Loading branch information
qinglee committed Apr 7, 2019
1 parent cb8bf3c commit 5b0fbb2
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 30 deletions.
2 changes: 0 additions & 2 deletions CJKpunct/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ function copytds_posthook()
cp("examples", ".", docdir)
cp("setpunct", ".", ctandir)
cp("setpunct", ".", docdir)
cp("CJKpunct.ins", unpackdir, ctandir)
cp("CJKpunct.ins", unpackdir, tdsdir .. "/source/" .. moduledir)
end

dofile("../tool/zhl3build.lua")
Expand Down
5 changes: 0 additions & 5 deletions ctex/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ subtexdirs = {
["dictionary"] = "*.dict",
}

function copytds_posthook()
cp("ctex.ins", unpackdir, ctandir .. "/" .. ctanpkg)
cp("ctex.ins", unpackdir, tdsdir .. "/source/" .. moduledir)
end

function setversion_update_line (line, date, version)
local left, right = line:match([[^(%%%b<> {\ExplFileDate}{).-(}{.+})$]])
if left and right then
Expand Down
5 changes: 0 additions & 5 deletions jiazhu/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ installfiles = {"*.sty"}
unpackexe = "xetex"
typesetexe = "xelatex"

function copytds_posthook()
cp("jiazhu.ins", unpackdir, ctandir .. "/" .. ctanpkg)
cp("jiazhu.ins", unpackdir, tdsdir .. "/source/" .. moduledir)
end

dofile("../tool/zhl3build.lua")

-- vim:sw=2:et
5 changes: 0 additions & 5 deletions xCJK2uni/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ subtexdirs = {
["cmap"] = "*.cmap",
}

function copytds_posthook()
cp("xCJK2uni.ins", unpackdir, ctandir .. "/" .. ctanpkg)
cp("xCJK2uni.ins", unpackdir, tdsdir .. "/source/" .. moduledir)
end

dofile("../tool/zhl3build.lua")

-- vim:sw=2:et
3 changes: 0 additions & 3 deletions xeCJK/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,6 @@ function copytds_posthook()
local exampledir = docdir .. "/example"
mkdir(exampledir)
cp("xeCJK-example-*.tex", unpackdir, exampledir)
-- ins 文件
cp("xeCJK.ins", unpackdir, ctandir .. "/" .. ctanpkg)
cp("xeCJK.ins", unpackdir, tdsdir .. "/source/" .. moduledir)
end

dofile("../tool/zhl3build.lua")
Expand Down
5 changes: 0 additions & 5 deletions xpinyin/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ function unpack_posthook()
os.remove("xpinyin.ins")
end

function copytds_posthook()
cp("xpinyin.ins", unpackdir, ctandir .. "/" .. ctanpkg)
cp("xpinyin.ins", unpackdir, tdsdir .. "/source/" .. moduledir)
end

dofile("../tool/zhl3build.lua")

-- vim:sw=2:et
5 changes: 0 additions & 5 deletions zhnumber/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ typesetexe = "xelatex"
gbkfiles = {"zhnumber-gbk.cfg"}
big5files = {"zhnumber-big5.cfg"}

function copytds_posthook()
cp("zhnumber.ins", unpackdir, ctandir .. "/" .. ctanpkg)
cp("zhnumber.ins", unpackdir, tdsdir .. "/source/" .. moduledir)
end

dofile("../tool/zhl3build.lua")

-- vim:sw=2:et

0 comments on commit 5b0fbb2

Please sign in to comment.