Code

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 55a84d478ef1300a2848cae146b38ba85bde35c2..d45f3dcf6214f8a60f3e636d1c5067d273551f0c 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