makefiles: Always use the global SOURCES variable for .po files.
This commit is contained in:
parent
64de93e300
commit
bf8cb196b5
2 changed files with 2 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue