forked from kprussing/secretx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.lua
40 lines (34 loc) · 1.15 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
-- Build configuration for secretx
module = "secretx"
-- 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
installfiles = {}
tdslocations = {}
for _, example in pairs(demofiles) do
table.insert(installfiles, example)
table.insert(tdslocations, docdir .. example)
end
-- 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 = "0.9",
summary = "LaTeX macros for importance markings",
ctanPath = "/macros/latex/contrib/" .. module,
license = "LPPL",
}