Commit bfc86347 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 5c2526a0
...@@ -542,6 +542,7 @@ my $git_dir = $ENV{GIT_DIR} || ".git"; ...@@ -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)
......
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