build: fix uistatic build skippage

Change-Id: I5a9db49072841e015d901597e7ac3065fddf8504
This commit is contained in:
Brad Fitzpatrick 2011-06-18 11:58:55 -07:00
parent 81547a9eb6
commit 26cc858c75
1 changed files with 3 additions and 1 deletions

View File

@ -309,7 +309,7 @@ sub find_go_camli_deps {
my $t = $targets{$target} or die "Bogus or undeclared build target: $target\n"; my $t = $targets{$target} or die "Bogus or undeclared build target: $target\n";
my $target_dir = dir($target); my $target_dir = dir($target);
v2("Deps of $target in $target_dir?"); v2("Deps of $target in $target_dir");
opendir(my $dh, $target_dir) or die "Failed to open directory: $target\n"; opendir(my $dh, $target_dir) or die "Failed to open directory: $target\n";
my @go_files = grep { !m!^\.\#! } grep { !/_testmain\.go$/ } grep { /\.go$/ } readdir($dh); my @go_files = grep { !m!^\.\#! } grep { !/_testmain\.go$/ } grep { /\.go$/ } readdir($dh);
closedir($dh); closedir($dh);
@ -362,6 +362,8 @@ sub gen_target_makefile {
$type = "pkg"; $type = "pkg";
} elsif ($target =~ m!(server|clients)/go\b!) { } elsif ($target =~ m!(server|clients)/go\b!) {
$type = "cmd"; $type = "cmd";
} elsif ($target =~ m!^camlistore\.org/!) {
# type to be set later
} else { } else {
return; return;
} }