Skip to content

Commit

Permalink
manifest: extractfiledesc -> skipfiledescription
Browse files Browse the repository at this point in the history
still not sure if this naming is best...
  • Loading branch information
wspr committed Dec 26, 2017
1 parent d4f2886 commit 0da89dc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions l3build-manifest-setup.lua
Expand Up @@ -68,7 +68,7 @@ documentation files listed above.
{
name = "Text files",
files = {textfiles},
extractfiledesc = false,
skipfiledescription = true,
},
{
name = "Demo files",
Expand All @@ -83,7 +83,7 @@ documentation files listed above.
files = {installfiles},
exclude = {excludefiles,sourcefiles},
dir = unpackdir,
extractfiledesc = false,
skipfiledescription = true,
},
{
name = "Typeset documents",
Expand Down Expand Up @@ -113,7 +113,7 @@ different engines (pdfTeX, XeTeX, LuaTeX, etc.).
]],
files = {"*"..lvtext,"*"..lveext,"*"..tlgext},
dir = testfiledir,
extractfiledesc = false,
skipfiledescription = true,
},
}
return groups
Expand Down
10 changes: 5 additions & 5 deletions l3build-manifest.lua
Expand Up @@ -91,10 +91,10 @@ manifest_build_init = function(entry)
-- currently these aren't customisable; I guess they could/should be?
local manifest_group_defaults = {
extractfiledesc = true ,
rename = false ,
dir = maindir ,
exclude = {excludefiles} ,
skipfiledescription = false ,
rename = false ,
dir = maindir ,
exclude = {excludefiles} ,
}
-- internal data added to each group in the table that needs to be initialised
Expand Down Expand Up @@ -149,7 +149,7 @@ manifest_build_file = function(entry,this_file)
end
if not(entry.rename) and entry.extractfiledesc then
if not(entry.rename) and not(entry.skipfiledescription) then
local ff = assert(io.open(entry.dir .. "/" .. this_file, "r"))
this_descr = manifest_extract_filedesc(ff,this_file)
Expand Down
2 changes: 1 addition & 1 deletion l3build.dtx
Expand Up @@ -1465,7 +1465,7 @@
% \var{exclude} & Files to exclude (default |{excludefiles}|) \\
% \var{dir} & The directory to search (default |maindir|) \\
% \var{rename} & An array with a |gsub| redefinition for the filename \\
% \var{extractfiledesc} & Whether to extract file descriptions from these files (default |true|) \\
% \var{skipfiledescription} & Whether to extract file descriptions from these files (default |false|) \\
% \bottomrule
% \end{tabular}
% \end{table}
Expand Down

0 comments on commit 0da89dc

Please sign in to comment.