3 -- Build script for LaTeX2e "doc" files
5 -- Identify the bundle and module
9 -- CTAN's name for this is a bit different from ours
12 -- Location of main directory: use Unix-style path separators
15 -- Set up the file types needed here
17 sourcefiles
= {"ltnews??.tex"}
32 -- No dependencies at all (other than l3build of course)
39 print " build clean - clean out directory tree "
40 print " build ctan - create CTAN-ready archive "
41 print " build doc - runs all documentation files"
45 -- doc does all of the targets itself
46 function main (target
, file
, engine
)
48 if target
== "doc" then
50 elseif target
== "clean" then
52 elseif target
== "ctan" then
54 elseif target
== "version" then
61 -- Load the common settings for the LaTeX2e repo
62 dofile (maindir
.. "/build-config.lua")
64 -- Find and run the build system
65 kpse
.set_program_name ("kpsewhich")
66 dofile (kpse
.lookup ("l3build.lua"))