Allow building without any git installed
This is a follow-up patch to 49fa65a (Allow the built-in exec path to be relative to the command invocation path, 2008-07-23). Without specific gitexecdir passed from the command line, git-gui's build procedure would try to figure out the value for it by running an installed git. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Jul 28, 2008 at 00:02 UTC
e84a063da86cbf4382fbfb6f85e75c2ca2a8b9c7
1 file changed
+1
-1
Makefile
+1
-1
@@ -1067,7 +1067,7 @@ endif
1067
1068
all::
1069
ifndef NO_TCLTK
1070
- $(QUIET_SUBDIR0)git-gui $(QUIET_SUBDIR1) all
1070
+ $(QUIET_SUBDIR0)git-gui $(QUIET_SUBDIR1) gitexecdir='$(gitexec_instdir_SQ)' all
1071
$(QUIET_SUBDIR0)gitk-git $(QUIET_SUBDIR1) all
1072
endif
1073
$(QUIET_SUBDIR0)perl $(QUIET_SUBDIR1) PERL_PATH='$(PERL_PATH_SQ)' prefix='$(prefix_SQ)' all