Lines Matching refs:tmpdir
362 local function dependent_options(tmpdir, option_name, all_opts, omit_others)
367 local srcconf = tmpdir .. "/src-" ..prefix .. "ALL_" ..
408 local function all_dependent_options(tmpdir, options, default_opts,
432 local enforced_options = dependent_options(tmpdir, name,
436 local effect_options = dependent_options(tmpdir, name,
567 local function main(tmpdir)
574 local srcconf_all <const> = tmpdir .. "/src-all-enabled.conf"
612 all_enforced_options, all_effect_options = all_dependent_options(tmpdir,
775 local tmpdir = "/tmp/makeman." .. unistd.getpid()
777 if not lfs.mkdir(tmpdir) then
778 error("Failed to create tempdir " .. tmpdir)
782 local ret, errobj = pcall(main, tmpdir)
784 for fname in lfs.dir(tmpdir) do
786 assert(os.remove(tmpdir .. "/" .. fname))
790 if not lfs.rmdir(tmpdir) then
791 assert(io.stderr:write("Failed to clean up tmpdir: " .. tmpdir .. "\n"))