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>
Shawn O. Pearce committed
Feb 24, 2008 at 00:38 UTC
6c0f86943e9ebba5aa281772e01559773e0c1234
1 file changed
+1
-1
Makefile
+1
-1
@@ -1087,7 +1087,7 @@ git.spec: git.spec.in
1087
mv $@+ $@
1088
1089
GIT_TARNAME=git-$(GIT_VERSION)
1090
-dist: git.spec git-archive configure
1090
+dist: git.spec git-archive$(X) configure
1091
./git-archive --format=tar \
1092
--prefix=$(GIT_TARNAME)/ HEAD^{tree} > $(GIT_TARNAME).tar
1093
@mkdir -p $(GIT_TARNAME)