@@ -358,6 +358,8 @@ my $original_dir = File::Spec->rel2abs(File::Spec->curdir);
358
358
my $data_dir = File::Spec-> catdir($original_dir , ' porting' );
359
359
my $known_issues = File::Spec-> catfile($data_dir , ' known_pod_issues.dat' );
360
360
my $MANIFEST = File::Spec-> catfile(File::Spec-> updir($original_dir ), ' MANIFEST' );
361
+ my $MANIFEST_DEV = File::Spec-> catfile(File::Spec-> updir($original_dir ),
362
+ ' Porting/MANIFEST.dev' );
361
363
my $copy_fh ;
362
364
363
365
my $MAX_LINE_LENGTH = 78; # 78 columns
@@ -475,21 +477,22 @@ my $C_path_re = qr{ ^
475
477
# for .PL files and get their full path names, so we can exclude each such
476
478
# file explicitly. This works because other porting tests prohibit having two
477
479
# files with the same names except for case.
478
- open my $manifest_fh , ' <:bytes' , $MANIFEST or die " Can't open $MANIFEST " ;
479
- while (<$manifest_fh >) {
480
-
481
- # While we have MANIFEST open, on VMS platforms, look for files that match
482
- # the magic VMS file names that have to be handled specially. Add these
483
- # to the list of them.
484
- if ($^O eq ' VMS' && / ^ ( [^\t ]* $vms_re ) \t /x ) {
485
- $special_vms_files {$1 } = 1;
486
- }
487
- if (/ ^ ( [^\t ]* \. PL ) \t /x ) {
488
- $excluded_files {canonicalize($1 )} = 1;
480
+ foreach my $manifest_file ($MANIFEST , $MANIFEST_DEV ) {
481
+ open my $manifest_fh , ' <:bytes' , $manifest_file or die " Can't open $manifest_file " ;
482
+ while (<$manifest_fh >) {
483
+
484
+ # While we have MANIFEST open, on VMS platforms, look for files that match
485
+ # the magic VMS file names that have to be handled specially. Add these
486
+ # to the list of them.
487
+ if ($^O eq ' VMS' && m / ^ ( [^\t ]* $vms_re ) \t / x ) {
488
+ $special_vms_files {$1 } = 1;
489
+ }
490
+ if (m / ^ ( [^\t ]* \. PL ) \t / x ) {
491
+ $excluded_files {canonicalize($1 )} = 1;
492
+ }
489
493
}
494
+ close $manifest_fh , or die " Can't close $manifest_file " ;
490
495
}
491
- close $manifest_fh , or die " Can't close $MANIFEST " ;
492
-
493
496
494
497
# Pod::Checker messages to suppress
495
498
my @suppressed_messages = (
0 commit comments