From 5cc1c85d80e70df467e29e86bef84754d917a09e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 22 Feb 2019 23:18:23 +0000 Subject: cluttex (22feb19) git-svn-id: svn://tug.org/texlive/trunk@50090 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/support/cluttex/src/texrunner/handleoption.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/doc/support/cluttex/src/texrunner/handleoption.lua') diff --git a/Master/texmf-dist/doc/support/cluttex/src/texrunner/handleoption.lua b/Master/texmf-dist/doc/support/cluttex/src/texrunner/handleoption.lua index 7ea478c24b9..478369914f5 100644 --- a/Master/texmf-dist/doc/support/cluttex/src/texrunner/handleoption.lua +++ b/Master/texmf-dist/doc/support/cluttex/src/texrunner/handleoption.lua @@ -1,5 +1,5 @@ local COPYRIGHT_NOTICE = [[ -Copyright (C) 2016,2018 ARATA Mizuki +Copyright (C) 2016,2018-2019 ARATA Mizuki This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -61,6 +61,7 @@ Options: --color=WHEN Make ClutTeX's message colorful. WHEN is one of `always', `auto', or `never'. [default: auto] --includeonly=NAMEs Insert '\includeonly{NAMEs}'. + --make-depends=FILE Write dependencies as a Makefile rule. --[no-]shell-escape --shell-restricted @@ -128,6 +129,10 @@ local option_spec = { long = "includeonly", param = true, }, + { + long = "make-depends", + param = true + }, -- Options for TeX { long = "synctex", @@ -297,6 +302,10 @@ local function handle_cluttex_options(arg) assert(options.includeonly == nil, "multiple --includeonly options") options.includeonly = param + elseif name == "make-depends" then + assert(options.make_depends == nil, "multiple --make-depends options") + options.make_depends = param + -- Options for TeX elseif name == "synctex" then assert(options.synctex == nil, "multiple --synctex options") -- cgit v1.2.3