From: Chris Wright Date: Mon, 11 Jul 2005 21:03:09 +0000 (-0700) Subject: [PATCH] Bootstrap "make dist" X-Git-Tag: v0.99.1~58 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b1de9de2b93510affbbac2a4ffa47208b3beda7a;p=git.git [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 Signed-off-by: Linus Torvalds --- diff --git a/Makefile b/Makefile index 11f5bcd90..03ea1636a 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