From 227d6a9347d4c94ff1bb0a91191a33ec18e682e3 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 22 Feb 2011 17:02:14 +0000 Subject: [PATCH] Make mkfiles.pl work with fipscanisteronly. --- util/mkfiles.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/util/mkfiles.pl b/util/mkfiles.pl index 2d77a82b0c..66b78f417d 100755 --- a/util/mkfiles.pl +++ b/util/mkfiles.pl @@ -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; + } } -- 2.34.1