@matheusbsbs / matheus-bagliano / commits / 57e8743d1a
Fork 0

Makefile: let header dependency checker override COMPUTE_HEADER_DEPENDENCIES

This way, if you have “COMPUTE_HEADER_DEPENDENCIES = YesPlease” in your config.mak, you can still “make CHECK_HEADER_DEPENDENCIES=Yes” to check the makefile after a successful build. This change does not affect the result of the command “make CHECK_HEADER_DEPENDENCIES=Yes COMPUTE_HEADER_DEPENDENCIES=Yes”. That will still die with an error message: cannot compute header dependencies outside a normal build The message is appropriate because still true. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jonathan Nieder committed May 8, 2010 at 23:00 UTC 57e8743d1a2a06c4141b2a231bfcc54e2b0c2ad6
1 file changed +1
Makefile
+1
@@ -1063,6 +1063,7 @@ endif
1063 -include config.mak
1064
1065 ifdef CHECK_HEADER_DEPENDENCIES
1066 +COMPUTE_HEADER_DEPENDENCIES =
1067 USE_COMPUTED_HEADER_DEPENDENCIES =
1068 endif
1069