[latex3-commits] [git/LaTeX3-latex3-latex2e] master: Support uninstall target (87b6c3f)

Joseph Wright joseph.wright at morningstar2.co.uk
Sat Aug 18 11:18:13 CEST 2018


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/87b6c3f87ace354c4349900b93a509e94b393c91

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

commit 87b6c3f87ace354c4349900b93a509e94b393c91
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Aug 18 10:18:13 2018 +0100

    Support uninstall target
    
    At present, we use 'manual'  main() creation here (to support "texlua build.lua ..."). Probably this will be adjusted at some stage.


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

87b6c3f87ace354c4349900b93a509e94b393c91
 base/build.lua |    2 ++
 build.lua      |    2 ++
 2 files changed, 4 insertions(+)

diff --git a/base/build.lua b/base/build.lua
index 7633a28..80562a9 100644
--- a/base/build.lua
+++ b/base/build.lua
@@ -224,6 +224,8 @@ function main (target, file, engine)
   elseif target == "unpack" then
     -- A simple way to have the unpack target also build the format
     errorlevel = format ()
+  elseif target == "uninstall" then
+    errorlevel = uninstall()
   elseif target == "version" then
     version ()
   else
diff --git a/build.lua b/build.lua
index bde4a84..97f1b14 100644
--- a/build.lua
+++ b/build.lua
@@ -59,6 +59,8 @@ function main (target)
     errorlevel = dobundles ("doc")
   elseif target == "install" then
     errorlevel = dobundles ("install")
+  elseif target == "uninstall" then
+    errorlevel = dobundles("uninstall")
   elseif target == "unpack" then
     errorlevel = dobundles ("unpack")
   elseif target == "version" then





More information about the latex3-commits mailing list