Make mkfiles.pl work with fipscanisteronly.

This commit is contained in:
Dr. Stephen Henson 2011-02-22 17:02:14 +00:00
parent f6e76a67f0
commit 227d6a9347

View File

@ -84,7 +84,10 @@ my @dirs = (
%top;
my $fipscanisteronly = 0;
foreach (@dirs) {
next if ($fipscanisteronly && !(-d $_));
&files_dir ($_, "Makefile");
}
@ -150,4 +153,8 @@ if ($dir eq "." && defined($sym{"BUILDENV"}))
print "RELATIVE_DIRECTORY=\n";
close (IN);
if ($dir eq "." && $sym{CONFIGURE_ARGS} =~ /fipscanisteronly/)
{
$fipscanisteronly = 1;
}
}