summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wright <chrisw@osdl.org>2005-07-11 21:03:09 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-11 21:20:10 (GMT)
commitb1de9de2b93510affbbac2a4ffa47208b3beda7a (patch)
treea73798ee1ef16427fa589b69d7eebda978857760
parentab6625e06a647c4be555cadc63dfa8f0d4a7f48e (diff)
downloadgit-b1de9de2b93510affbbac2a4ffa47208b3beda7a.zip
git-b1de9de2b93510affbbac2a4ffa47208b3beda7a.tar.gz
git-b1de9de2b93510affbbac2a4ffa47208b3beda7a.tar.bz2
[PATCH] Bootstrap "make dist"
Use git-tar-tree directly from git source during make dist. This handles bootstrap issue with git not being installed. Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 11f5bcd..03ea163 100644
--- a/Makefile
+++ b/Makefile
@@ -175,8 +175,8 @@ git.spec: git.spec.in
sed -e 's/@@VERSION@@/$(GIT_VERSION)/g' < $< > $@
GIT_TARNAME=git-$(GIT_VERSION)
-dist: git.spec
- git-tar-tree HEAD $(GIT_TARNAME) > $(GIT_TARNAME).tar
+dist: git.spec git-tar-tree
+ ./git-tar-tree HEAD $(GIT_TARNAME) > $(GIT_TARNAME).tar
@mkdir -p $(GIT_TARNAME)
@cp git.spec $(GIT_TARNAME)
tar rf $(GIT_TARNAME).tar $(GIT_TARNAME)/git.spec