summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-24 21:34:18 +0000
committerKarl Berry <karl@freefriends.org>2023-02-24 21:34:18 +0000
commit570371d7cddc35c7021dd18c617dbb8ce0229ae1 (patch)
treecb05a13f37d11e12d464569321415f63ab737742 /Build
parentce68a2f2efc91c4afd53df279788555af75973d3 (diff)
make4ht (24feb23) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2022.final@66131 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/make4ht/make4ht10
1 files changed, 8 insertions, 2 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/make4ht/make4ht b/Build/source/texk/texlive/linked_scripts/make4ht/make4ht
index 7d579fafeaa..f6358956774 100755
--- a/Build/source/texk/texlive/linked_scripts/make4ht/make4ht
+++ b/Build/source/texk/texlive/linked_scripts/make4ht/make4ht
@@ -29,7 +29,7 @@ make4ht [options] filename ["tex4ht.sty op." "tex4ht op." "t4ht op" "latex op"]
-- set version number. the template should be replaced by the
-- actual version number by the build script
-local version = "v0.3l"
+local version = "v0.3m"
mkparams.version_number = version
local args = mkparams.get_args()
@@ -120,7 +120,13 @@ make:match("tmp$", function(filename,params)
make:match(".*",function(filename,par)
local outdir = '' --par["outdir"] and par["outdir"] .."/" or ''
- if par['outdir'] ~= "" then outdir = par['outdir'] .. '/' end
+ if par['outdir'] ~= "" then
+ outdir = par['outdir'] .. '/'
+ else
+ -- don't run unnecessary copy without output dir
+ log:info("No output directory")
+ return true
+ end
log:info("outdir: "..outdir)
local outfilename = outdir .. filename
mkutils.copy(filename,outfilename)