Skip to content

Commit d3fd1a6

Browse files
avargitster
authored andcommitted
Makefile: correct the dependency graph of hook-list.h
Fix an issue in my cfe853e (hook-list.h: add a generated list of hooks, like config-list.h, 2021-09-26), the builtin/help.c was inadvertently made to depend on hook-list.h, but it's used by builtin/bugreport.c. The hook.c also does not depend on hook-list.h. It did in an earlier version of the greater series cfe853e was extracted from, but not anymore. We might end up needing that line again, but let's remove it for now. Reported-by: Mike Hommey <[email protected]> Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent cfe853e commit d3fd1a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2210,9 +2210,9 @@ git$X: git.o GIT-LDFLAGS $(BUILTIN_OBJS) $(GITLIBS)
22102210
$(filter %.o,$^) $(LIBS)
22112211

22122212
help.sp help.s help.o: command-list.h
2213-
hook.sp hook.s hook.o: hook-list.h
2213+
builtin/bugreport.sp builtin/bugreport.s builtin/bugreport.o: hook-list.h
22142214

2215-
builtin/help.sp builtin/help.s builtin/help.o: config-list.h hook-list.h GIT-PREFIX
2215+
builtin/help.sp builtin/help.s builtin/help.o: config-list.h GIT-PREFIX
22162216
builtin/help.sp builtin/help.s builtin/help.o: EXTRA_CPPFLAGS = \
22172217
'-DGIT_HTML_PATH="$(htmldir_relative_SQ)"' \
22182218
'-DGIT_MAN_PATH="$(mandir_relative_SQ)"' \

0 commit comments

Comments
 (0)