diff --git a/build.lua b/build.lua index 1dd280d01..c135e9b6c 100644 --- a/build.lua +++ b/build.lua @@ -39,7 +39,7 @@ function main (target) end -- Avoid inter-bundle issues for _,v in ipairs(t) do - cleandir(builddir) + if target == "ctan" then call({v},"clean") end local errorlevel = call({v},target) if errorlevel ~= 0 then return errorlevel end end