make_makefiles: Ignore files that have been deleted in the index.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Alexandre Julliard 2017-11-17 19:39:59 +01:00
parent 5c2526a086
commit bfc8634747
1 changed files with 1 additions and 0 deletions

View File

@ -542,6 +542,7 @@ my $git_dir = $ENV{GIT_DIR} || ".git";
die "needs to be run from a git checkout" unless -d $git_dir;
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;
foreach my $file (sort @makefiles)