git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Ensure 'make dist' compiles git-archive.exe on Cygwin
@ 2008-02-24  5:38 Shawn O. Pearce
  0 siblings, 0 replies; only message in thread
From: Shawn O. Pearce @ 2008-02-24  5:38 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

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>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 4d53898..86ef951 100644
--- a/Makefile
+++ b/Makefile
@@ -1103,7 +1103,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)
-- 
1.5.4.3.295.g6b554

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-24  5:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-24  5:38 [PATCH] Ensure 'make dist' compiles git-archive.exe on Cygwin Shawn O. Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).