Make CFM build aware of buildconfig.html

Fixing tinderbox bustage (hopefully)
This commit is contained in:
seawood%netscape.com 2003-02-22 08:49:46 +00:00
Родитель 295267a863
Коммит f26c439c22
1 изменённых файлов: 22 добавлений и 1 удалений

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

@ -56,6 +56,27 @@ sub UpdateBuildNumberFiles()
SetBuildNumber(":mozilla:config:build_number", \@gen_files);
}
#//--------------------------------------------------------------------------------------------------
#// UpdateGeneratedChromeFiles
#//--------------------------------------------------------------------------------------------------
sub UpdateGeneratedChromeFiles()
{
UpdateBuildNumberFiles();
my ($file) = (":mozilla:xpfe:global:buildconfig.html");
my $tmp;
open (IN, "${file}.in") || die("${file}.in: $!\n");
open (OUT, ">$file") || die ("$file: $!\n");
while ($tmp=<IN>) {
$tmp =~ s/@target@/Mac CFM/;
$tmp =~ s/@CC@/CodeWarrior/;
$tmp =~ s/@CXX@/CodeWarrior/;
$tmp =~ s/@\S+@//;
print OUT "$tmp";
}
close(OUT);
close(IN);
}
#//--------------------------------------------------------------------------------------------------
#// Select a default skin
#//--------------------------------------------------------------------------------------------------
@ -1290,7 +1311,7 @@ sub BuildDist()
mkpath([ ":mozilla:dist:viewer:Plug-ins", ":mozilla:dist:viewer_debug:Plug-ins"]);
#mkpath([ ":mozilla:dist:client:Plugins", ":mozilla:dist:client_debug:Plugins"]);
UpdateBuildNumberFiles();
UpdateGeneratedChromeFile();
BuildRuntimeDist();