Commit bf8cb196 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 64de93e3
PO_SRCS = \
SOURCES = \
ar.po \
ast.po \
bg.po \
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment