summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-02-24 00:38:04 -0500
committerJunio C Hamano <gitster@pobox.com>2008-02-24 00:51:01 -0800
commit6c0f86943e9ebba5aa281772e01559773e0c1234 (patch)
tree74288a93305ffc3cc9e1e87b07d2a389ef7bc88e /Makefile
parent31e0b2ca81ad985a8768c33c0aba547a51d05277 (diff)
downloadgit-6c0f86943e9ebba5aa281772e01559773e0c1234.tar.gz
Ensure 'make dist' compiles git-archive.exe on Cygwin
On Cygwin we have to use git-archive.exe as the target, otherwise running 'make dist' does not compile git-archive in the current directory. That may cause 'make dist' to fail on a clean source tree that has never been built before. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> 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 92341c4bbe..7a3c6d1456 100644
--- a/Makefile
+++ b/Makefile
@@ -1087,7 +1087,7 @@ git.spec: git.spec.in
mv $@+ $@
GIT_TARNAME=git-$(GIT_VERSION)
-dist: git.spec git-archive configure
+dist: git.spec git-archive$(X) configure
./git-archive --format=tar \
--prefix=$(GIT_TARNAME)/ HEAD^{tree} > $(GIT_TARNAME).tar
@mkdir -p $(GIT_TARNAME)