mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
doc: Do not process .in files for html
We do not want to process .pod.in files when generating HTML versions of the man pages. Change the filename filtering logic to only accept .pod files, so we'll also skip over all other stuff we don't want, like CVS or fragments directories. Change-Id: I246000a9323852d0aeefd7e7357eeece4daa3346 Reviewed-on: http://gerrit.openafs.org/3302 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementia.org> Reviewed-on: http://gerrit.openafs.org/3930 Reviewed-by: Jeffrey Altman <jaltman@openafs.org> Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
parent
a62fc32354
commit
205e790eeb
@ -109,7 +109,7 @@ sub scan_names {
|
||||
my $section = $dir;
|
||||
$section =~ s/^pod//;
|
||||
opendir (D, $dir) or die "Cannot open $dir: $!\n";
|
||||
for my $file (sort grep { !/^\./ && !/CVS/ && !/fragments/ } readdir D) {
|
||||
for my $file (sort grep { !/^\./ && /\.pod$/ } readdir D) {
|
||||
open (F, "$dir/$file") or die "Cannot open $dir/$file: $!\n";
|
||||
my ($name, $desc);
|
||||
local $_;
|
||||
|
Loading…
Reference in New Issue
Block a user