summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-07-28 00:02:48 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-07-28 13:09:54 -0700
commite84a063da86cbf4382fbfb6f85e75c2ca2a8b9c7 (patch)
tree6d2ccf6250e19464f17ee0b1671b63ba0244b4ab /Makefile
parentinit: handle empty "template" parameter (diff)
downloadtgif-e84a063da86cbf4382fbfb6f85e75c2ca2a8b9c7.tar.xz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 798a2f2f77..7e30b30775 100644
--- a/Makefile
+++ b/Makefile
@@ -1067,7 +1067,7 @@ endif
all::
ifndef NO_TCLTK
- $(QUIET_SUBDIR0)git-gui $(QUIET_SUBDIR1) all
+ $(QUIET_SUBDIR0)git-gui $(QUIET_SUBDIR1) gitexecdir='$(gitexec_instdir_SQ)' all
$(QUIET_SUBDIR0)gitk-git $(QUIET_SUBDIR1) all
endif
$(QUIET_SUBDIR0)perl $(QUIET_SUBDIR1) PERL_PATH='$(PERL_PATH_SQ)' prefix='$(prefix_SQ)' all