Moved international projects into a separate routine. Made it print announcements at the end of each routine, to facilitate restarting build (using "most") after an error.

This commit is contained in:
mcmullen%netscape.com 1999-05-04 19:21:00 +00:00
Родитель 56e0fb7924
Коммит e702d2440e
2 изменённых файлов: 18 добавлений и 5 удалений

Просмотреть файл

@ -43,6 +43,7 @@ $build{all} = 1; # turn off to do individual builds
$build{dist} = 0;
$build{stubs} = 0;
$build{common} = 0;
$build{intl} = 0;
$build{nglayout} = 0;
$build{resources} = 0;
$build{editor} = 0;
@ -75,7 +76,17 @@ if ($build{all})
chdir("::::");
$MOZ_SRC = cwd();
OpenErrorLog("NGLayoutBuildLog");
#Use timestamped names so that you don't clobber your previous log file!
my $now = localtime();
while ($now =~ s@:@.@) {} # replace all colons by periods
my $logdir = ":Build Logs:";
if (!stat($logdir))
{
print "Creating directory $logdir\n";
mkdir $logdir, 0777 || die "Couldn't create directory $logdir";
}
OpenErrorLog("$logdir$now");
#OpenErrorLog("Mozilla.BuildLog"); # Tinderbox requires that name
Moz::StopForErrors();

Просмотреть файл

@ -45,6 +45,7 @@ $build{most} = 1; # turn off to do individual builds
$build{dist} = 0;
$build{stubs} = 0;
$build{common} = 0;
$build{intl} = 0;
$build{nglayout} = 0;
$build{resources} = 0;
$build{editor} = 0;
@ -73,14 +74,15 @@ if ($build{all})
if ($build{most})
{
### Just uncomment/comment to get the ones you want (if "most" is selected).
# $build{dist} = 1;
$build{dist} = 1;
# $build{stubs} = 1;
# $build{common} = 1;
$build{common} = 1; # Requires intl
# $build{intl} = 1;
$build{nglayout} = 1;
# $build{resources} = 1;
$build{resources} = 1;
# $build{editor} = 1;
# $build{mailnews} = 1;
$build{viewer} = 1;
# $build{viewer} = 1;
$build{xpapp} = 1;
}