summaryrefslogtreecommitdiff
path: root/support/make4ht/make4ht
diff options
context:
space:
mode:
Diffstat (limited to 'support/make4ht/make4ht')
-rwxr-xr-xsupport/make4ht/make4ht10
1 files changed, 8 insertions, 2 deletions
diff --git a/support/make4ht/make4ht b/support/make4ht/make4ht
index 7d579fafea..f635895677 100755
--- a/support/make4ht/make4ht
+++ b/support/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)