[latex3-commits] [git/LaTeX3-latex3-latex2e] master: Stick to std main() for doc (01e5d93)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Feb 19 22:58:55 CET 2018


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/01e5d937d54a3a5adfdf3348291078780776161b

>---------------------------------------------------------------

commit 01e5d937d54a3a5adfdf3348291078780776161b
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Feb 19 21:54:06 2018 +0000

    Stick to std main() for doc


>---------------------------------------------------------------

01e5d937d54a3a5adfdf3348291078780776161b
 doc/build.lua |   25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/doc/build.lua b/doc/build.lua
index 36e4101..db67dff 100644
--- a/doc/build.lua
+++ b/doc/build.lua
@@ -33,31 +33,6 @@ typesetfiles =
 checkdeps  = { }
 unpackdeps = { }
 
--- Simplified help
-function help ()
-  print ""
-  print " build clean - clean out directory tree    "
-  print " build ctan  - create CTAN-ready archive   "
-  print " build doc   - runs all documentation files"
-  print ""
-end
-
--- doc does all of the targets itself
-function main (target, file, engine)
-  local errorlevel
-  if target == "doc" then
-    doc ()
-  elseif target == "clean" then
-    clean ()
-  elseif target == "ctan" then
-    ctan (true)
-  elseif target == "version" then
-    version ()
-  else
-    help ()
-  end
-end
-
 -- Load the common settings for the LaTeX2e repo
 dofile (maindir .. "/build-config.lua")
 





More information about the latex3-commits mailing list