Code

Makefile: let header dependency checker override COMPUTE_HEADER_DEPENDENCIES
authorJonathan Nieder <jrnieder@gmail.com>
Sun, 9 May 2010 04:00:10 +0000 (23:00 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 9 May 2010 05:30:51 +0000 (22:30 -0700)
commit57e8743d1a2a06c4141b2a231bfcc54e2b0c2ad6
treef4cdb6de7922d174c054a6660248b12b79050dc6
parente3925b1222b0adac00b957132526b5b25f341702
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>
Makefile