From: Jonathan Nieder Date: Sun, 9 May 2010 04:00:10 +0000 (-0500) Subject: Makefile: let header dependency checker override COMPUTE_HEADER_DEPENDENCIES X-Git-Tag: v1.7.2-rc0~82^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=57e8743d1a2a06c4141b2a231bfcc54e2b0c2ad6;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 567b859a4..0025b98b9 100644 --- a/Makefile +++ b/Makefile @@ -1063,6 +1063,7 @@ endif -include config.mak ifdef CHECK_HEADER_DEPENDENCIES +COMPUTE_HEADER_DEPENDENCIES = USE_COMPUTED_HEADER_DEPENDENCIES = endif