diff options
author | Karl Berry <karl@freefriends.org> | 2019-02-22 23:18:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-02-22 23:18:23 +0000 |
commit | 5cc1c85d80e70df467e29e86bef84754d917a09e (patch) | |
tree | 947332bb5620235b236ae92299e17a85966f8fbe /Master/texmf-dist/doc/support/cluttex/src/texrunner/handleoption.lua | |
parent | 9b4eadc598cd9b6d0f8172306e1c9def0514d06d (diff) |
cluttex (22feb19)
git-svn-id: svn://tug.org/texlive/trunk@50090 c570f23f-e606-0410-a88d-b1316a301751
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") |