mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
make_makefiles: Ignore files that have been deleted in the index.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5c2526a086
commit
bfc8634747
1 changed files with 1 additions and 0 deletions
|
@ -542,6 +542,7 @@ my $git_dir = $ENV{GIT_DIR} || ".git";
|
||||||
die "needs to be run from a git checkout" unless -d $git_dir;
|
die "needs to be run from a git checkout" unless -d $git_dir;
|
||||||
|
|
||||||
my @all_files = split /\0/, `git ls-files -c -z`;
|
my @all_files = split /\0/, `git ls-files -c -z`;
|
||||||
|
map { $ignored_source_files{$_} = 1; } split /\0/, `git ls-files -d -z`;
|
||||||
@makefiles = map { (my $ret = $_) =~ s/\.in$//; $ret; } grep /Makefile.in$/, @all_files;
|
@makefiles = map { (my $ret = $_) =~ s/\.in$//; $ret; } grep /Makefile.in$/, @all_files;
|
||||||
|
|
||||||
foreach my $file (sort @makefiles)
|
foreach my $file (sort @makefiles)
|
||||||
|
|
Loading…
Reference in a new issue