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

Alexandre Julliard julliard at winehq.org
Fri Nov 17 16:02:18 CST 2017


Module: wine
Branch: master
Commit: bfc863474791af182ea7162e22ff52ec1ae30699
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bfc863474791af182ea7162e22ff52ec1ae30699

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Nov 17 19:39:59 2017 +0100

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

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/make_makefiles | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/make_makefiles b/tools/make_makefiles
index 8411ecb..f57a7e2 100755
--- a/tools/make_makefiles
+++ b/tools/make_makefiles
@@ -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)




More information about the wine-cvs mailing list