Skip to content

Commit

Permalink
Revert "Fix inclusion of PDFs from docfiledir in CTAN releases"
Browse files Browse the repository at this point in the history
This reverts commit 4f45539.
  • Loading branch information
josephwright committed Nov 28, 2017
1 parent 4c90633 commit ba8c305
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions l3build.lua
Expand Up @@ -857,23 +857,20 @@ end
-- Copy files to the main CTAN release directory
function copyctan()
-- Do all of the copying
for _,filetype in pairs(
-- Do all of the copying in one go
for _,i in ipairs(
{
bibfiles,
demofiles,
docfiles,
pdffiles,
sourcefiles,
textfiles,
typesetlist
}
) do
for _,file in pairs(filetype) do
cp(file, docfiledir, ctandir .. "/" .. ctanpkg)
end
end
for _,filetype in pairs({sourcefiles, textfiles}) do
for _,file in pairs(filetype) do
cp(file, maindir, ctandir .. "/" .. ctanpkg)
for _,j in ipairs(i) do
cp(j, ".", ctandir .. "/" .. ctanpkg)
end
end
end
Expand Down

0 comments on commit ba8c305

Please sign in to comment.