make_makefiles: Remove updating codepage list, this is done by make_unicode now.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-03-18 16:39:47 +01:00
parent 94397d96bb
commit 134074e553
1 changed files with 0 additions and 9 deletions

View File

@ -498,15 +498,6 @@ sub update_wine_inf()
push @lines, "\n[SortFiles]", sort grep(/^sort/, @nls_files); push @lines, "\n[SortFiles]", sort grep(/^sort/, @nls_files);
push @lines, "\n[WineSourceDirs]\n"; push @lines, "\n[WineSourceDirs]\n";
replace_in_file "loader/wine.inf.in", '^\[InfFiles\]', '^\[WineSourceDirs\]', join( "\n", @lines ); replace_in_file "loader/wine.inf.in", '^\[InfFiles\]', '^\[WineSourceDirs\]', join( "\n", @lines );
my @codepages = grep /c_\d+\.nls/, @nls_files;
@lines = ( "[Nls]" );
foreach my $cp (sort { $a <=> $b; } map { /c_(\d+)\.nls/ && $1; } @codepages)
{
push @lines, sprintf "HKLM,System\\CurrentControlSet\\Control\\Nls\\Codepage,\"%u\",,\"c_%03u.nls\"", $cp, $cp;
}
push @lines, "\n";
replace_in_file "loader/wine.inf.in", '^\[Nls\]', '^$', join( "\n", @lines );
} }
my $git_dir = $ENV{GIT_DIR} || ".git"; my $git_dir = $ENV{GIT_DIR} || ".git";