1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

makefiles: Always use the global SOURCES variable for .po files.

This commit is contained in:
Alexandre Julliard 2023-10-12 10:54:07 +02:00
parent 64de93e300
commit bf8cb196b5
2 changed files with 2 additions and 6 deletions

View File

@ -1,4 +1,4 @@
PO_SRCS = \
SOURCES = \
ar.po \
ast.po \
bg.po \

View File

@ -338,7 +338,7 @@ sub assign_sources_to_makefiles(@)
my $make = $makefiles{"$dir/Makefile.in"};
my $name = substr( $file, length($dir) + 1 );
if ($name =~ /\.mc$/)
if ($name =~ /\.(mc|po)$/)
{
push @{${$make}{"=SOURCES"}}, $name;
next;
@ -363,10 +363,6 @@ sub assign_sources_to_makefiles(@)
{
push @{${$make}{"=RC_SRCS"}}, $name;
}
elsif ($name =~ /\.po$/)
{
push @{${$make}{"=PO_SRCS"}}, $name;
}
elsif ($name =~ /\.idl$/)
{
die "no makedep flags specified in $file" unless $dir eq "include" || get_makedep_flags($file);