+ elsif ($name =~ /^(\w+)_Config(\.pm)?$/) {
+ $name = "$1_Config";
+ $local = "$1_Config";
+ }
+ elsif ($name eq 'README') {
+ # We process README separately in devel/tools/rt-static-docs
+ $local = $name;
+ }
+ elsif ($name =~ /^UPGRADING.*/) {
+ # If an UPGRADING file is referred to anywhere else (such as
+ # templates.pod) we won't have seen UPGRADING yet and will treat
+ # it as a non-local file.
+ $local = $name;