Skip to content

Commit f53df0b

Browse files
avargitster
authored andcommitted
Makefile: remove an out-of-date comment
This comment added in dfea575 (Makefile: lazily compute header dependencies, 2010-01-26) has been out of date since 92b88eb (Makefile: use `git ls-files` to list header files, if possible, 2019-03-04), when we did exactly what it tells us not to do and added $(GENERATED_H) to $(OBJECTS) dependencies. The rest of it was also somewhere between inaccurate and outdated, since as of b8ba629 (Makefile: fold MISC_H into LIB_H, 2012-06-20) it's not followed by a list of header files, that got moved earlier in the file into LIB_H in 60d24dd (Makefile: fold XDIFF_H and VCSSVN_H into LIB_H, 2012-07-06). Let's just remove it entirely, to the extent that we have anything useful to say here the comment on the "USE_COMPUTED_HEADER_DEPENDENCIES" variable a few lines above this change does the job for us. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7c81295 commit f53df0b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Makefile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2501,13 +2501,6 @@ ifneq ($(dep_files_present),)
25012501
include $(dep_files_present)
25022502
endif
25032503
else
2504-
# Dependencies on header files, for platforms that do not support
2505-
# the gcc -MMD option.
2506-
#
2507-
# Dependencies on automatically generated headers such as command-list.h
2508-
# should _not_ be included here, since they are necessary even when
2509-
# building an object for the first time.
2510-
25112504
$(OBJECTS): $(LIB_H) $(GENERATED_H)
25122505
endif
25132506

0 commit comments

Comments
 (0)