Fix passing of TCLTK_PATH to git-gui
authorAlex Riesen <raa.lkml@gmail.com>
Thu, 5 Apr 2007 19:31:53 +0000 (21:31 +0200)
committerJunio C Hamano <junkio@cox.net>
Thu, 5 Apr 2007 22:07:16 +0000 (15:07 -0700)
GNU make does not include environment variables by default
in its namespace. Just pass them in make command line.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index ad321b35bfc3b48f6a9bbd503dc29eebdbf97d42..507ad9103e73b275ed00f3e9099d9699affa868f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -703,7 +703,7 @@ endif
 
 all::
 ifndef NO_TCLTK
-       $(QUIET_SUBDIR0)git-gui TCLTK_PATH='$(TCLTK_PATH_SQ)' $(QUIET_SUBDIR1) all
+       $(QUIET_SUBDIR0)git-gui $(QUIET_SUBDIR1) TCLTK_PATH='$(TCLTK_PATH_SQ)' all
 endif
        $(QUIET_SUBDIR0)perl $(QUIET_SUBDIR1) PERL_PATH='$(PERL_PATH_SQ)' prefix='$(prefix_SQ)' all
        $(QUIET_SUBDIR0)templates $(QUIET_SUBDIR1)