-
Notifications
You must be signed in to change notification settings - Fork 35
/
build.lua
42 lines (32 loc) · 884 Bytes
/
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
#!/usr/bin/env texlua
-- Build script for LaTeX2e "babel" files
-- Identify the bundle and module
bundle = ""
module = "babel"
-- Minor modifications to file types
installfiles = {"*.def", "*.ldf", "*.sty", "*.tex"}
sourcefiles = {"*.dtx", "*.ins"}
typesetfiles = {"babel.dtx"}
-- babel tests lots of third-party code
checkdeps = { }
checksearch = true
unpackdeps = { }
unpacksearch = true
-- Avoid zapping babel.pdf
cleanfiles = {"*.log", "*.zip"}
-- Override formats to be used
asciiengines = {"pdftex"}
stdengine = "pdftex"
checkengines = {"pdftex"}
-- Set up the check system
checkruns = 2
checksuppfiles = {"test2e.tex"}
-- Build TDS-style zips
packtdszip = true
-- Lua test files
checkconfigs = {"build","config-lua"}
-- Find and run the build system
kpse.set_program_name ("kpsewhich")
if not release_date then
dofile(kpse.lookup("l3build.lua"))
end