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 6b27cae + cb253bd commit 89cb7deCopy full SHA for 89cb7de
Makefile
@@ -844,7 +844,8 @@ VCSSVN_LIB = vcs-svn/lib.a
844
845
GENERATED_H += command-list.h
846
847
-LIB_H = $(shell $(FIND) . \
+LIB_H := $(shell git ls-files '*.h' ':!t/' ':!Documentation/' 2>/dev/null || \
848
+ $(FIND) . \
849
-name .git -prune -o \
850
-name t -prune -o \
851
-name Documentation -prune -o \
@@ -2367,7 +2368,7 @@ else
2367
2368
# should _not_ be included here, since they are necessary even when
2369
# building an object for the first time.
2370
-$(OBJECTS): $(LIB_H)
2371
+$(OBJECTS): $(LIB_H) $(GENERATED_H)
2372
endif
2373
2374
exec-cmd.sp exec-cmd.s exec-cmd.o: GIT-PREFIX
0 commit comments