-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.lua
57 lines (49 loc) · 1.61 KB
/
build.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
-- Build configuration for secretx
module = "secretx"
version = "0.10"
pkgdate = "2022-11-28"
-- The unpack directory has to be on the search path so building the
-- documentation can find sectetx.sty
texmfdir = "build/unpacked"
-- Typeset and install the examples and sources to the doc folder
docdir = "doc/latex/" .. module .. "/"
demofiles = {"example-doc.tex",
"example-slides.tex"}
typesetdemofiles = demofiles
docfiles = demofiles
installfiles = {"*.sty"}
tdslocations = {}
for _, example in pairs(demofiles) do
table.insert(installfiles, example)
table.insert(tdslocations, docdir .. example)
end
-- Set the engine to get xetex and luatex to not run so it can pass
--checkengines = {"pdftex"}
forcecheckruns = true
checkruns = 2
excludetests = {"level-*",
"lists-*",
"getheading",
"manual-override",
}
ctanreadme = "README.rst"
ctanzip = module .. "-" .. version
-- Set the configuration details
uploadconfig = {
-- Identification
author = "Keith F Prussing",
uploader = "Keith F Prussing",
email = "[email protected]",
-- URLs
home = "https://github.com/kprussing/secretx",
repository = "https://github.com/kprussing/secretx",
bugtracker = "https://github.com/kprussing/secretx/issues",
support = "https://github.com/kprussing/secretx/issues",
-- Package information
pkg = module,
version = version,
summary = "LaTeX macros for importance markings",
ctanPath = "/macros/latex/contrib/" .. module,
license = "LPPL1.3c",
topics = {"Markup", "Typesetting", "Documentation support"},
}