Makefile: do not force unneeded recompilation upon GIT_VERSION changes
authorJunio C Hamano <junkio@cox.net>
Thu, 22 Jun 2006 09:04:27 +0000 (02:04 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 22 Jun 2006 09:04:27 +0000 (02:04 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index 55a84d4..d45f3dc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -612,7 +612,7 @@ tags:
        find . -name '*.[hcS]' -print | xargs ctags -a
 
 ### Detect prefix changes
-TRACK_CFLAGS = $(subst ','\'',$(ALL_CFLAGS)):$(GIT_VERSION):\
+TRACK_CFLAGS = $(subst ','\'',$(ALL_CFLAGS)):$(GIT_PYTHON_DIR_SQ):\
              $(bindir_SQ):$(gitexecdir_SQ):$(template_dir_SQ):$(prefix_SQ)
 
 GIT-CFLAGS: .FORCE-GIT-CFLAGS