diff options
Diffstat (limited to 'Master/texmf-dist/doc/support/cluttex/src/texrunner/handleoption.lua')
-rw-r--r-- | Master/texmf-dist/doc/support/cluttex/src/texrunner/handleoption.lua | 11 |
1 files changed, 10 insertions, 1 deletions
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") |