{"thread":{"id":"12281","subject":"[PATCH] Ensure 'make dist' compiles git-archive.exe on Cygwin","startedAt":"2008-02-24T05:38:04Z","lastAt":"2008-02-24T05:38:04Z","messageCount":1,"participants":["Shawn O. Pearce"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"69759","messageId":"20080224053804.GA22150@spearce.org","threadId":"12281","inReplyTo":null,"subject":"[PATCH] Ensure 'make dist' compiles git-archive.exe on Cygwin","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-02-24T05:38:04Z","receivedAt":"2008-02-24T05:38:04Z","isPatch":true,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"On Cygwin we have to use git-archive.exe as the target, otherwise\nrunning 'make dist' does not compile git-archive in the current\ndirectory.  That may cause 'make dist' to fail on a clean source\ntree that has never been built before.\n\nSigned-off-by: Shawn O. Pearce <spearce@spearce.org>\n---\n Makefile |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/Makefile b/Makefile\nindex 4d53898..86ef951 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -1103,7 +1103,7 @@ git.spec: git.spec.in\n \tmv $@+ $@\n \n GIT_TARNAME=git-$(GIT_VERSION)\n-dist: git.spec git-archive configure\n+dist: git.spec git-archive$(X) configure\n \t./git-archive --format=tar \\\n \t\t--prefix=$(GIT_TARNAME)/ HEAD^{tree} > $(GIT_TARNAME).tar\n \t@mkdir -p $(GIT_TARNAME)\n-- \n1.5.4.3.295.g6b554\n"}]}