We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a016576 + 1a657cd commit 177b71bCopy full SHA for 177b71b
Makefile
@@ -842,7 +842,8 @@ VCSSVN_LIB = vcs-svn/lib.a
842
843
GENERATED_H += command-list.h
844
845
-LIB_H = $(shell $(FIND) . \
+LIB_H := $(shell git ls-files '*.h' ':!t/' ':!Documentation/' 2>/dev/null || \
846
+ $(FIND) . \
847
-name .git -prune -o \
848
-name t -prune -o \
849
-name Documentation -prune -o \
@@ -2368,7 +2369,7 @@ else
2368
2369
# should _not_ be included here, since they are necessary even when
2370
# building an object for the first time.
2371
-$(OBJECTS): $(LIB_H)
2372
+$(OBJECTS): $(LIB_H) $(GENERATED_H)
2373
endif
2374
2375
exec-cmd.sp exec-cmd.s exec-cmd.o: GIT-PREFIX
0 commit comments