summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthias Lederhofer <matled@gmx.net>2007-06-18 23:30:36 +0200
committerJunio C Hamano <gitster@pobox.com>2007-06-24 02:16:00 -0700
commitf58494bf82c260bf8794b2744158d84fc242cbf0 (patch)
treeb86b60788003bc11cfe095be6c21a8815cc0d0c7 /Makefile
parent1066c2c5482b8b5fb968c3a4acaa32a48bad2534 (diff)
downloadgit-f58494bf82c260bf8794b2744158d84fc242cbf0.tar.gz
make dist: include configure script in tarball
Signed-off-by: Matthias Lederhofer <matled@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0d904a93b9..a98e27aa7e 100644
--- a/Makefile
+++ b/Makefile
@@ -1029,15 +1029,16 @@ git.spec: git.spec.in
mv $@+ $@
GIT_TARNAME=git-$(GIT_VERSION)
-dist: git.spec git-archive
+dist: git.spec git-archive configure
./git-archive --format=tar \
--prefix=$(GIT_TARNAME)/ HEAD^{tree} > $(GIT_TARNAME).tar
@mkdir -p $(GIT_TARNAME)
- @cp git.spec $(GIT_TARNAME)
+ @cp git.spec configure $(GIT_TARNAME)
@echo $(GIT_VERSION) > $(GIT_TARNAME)/version
@$(MAKE) -C git-gui TARDIR=../$(GIT_TARNAME)/git-gui dist-version
$(TAR) rf $(GIT_TARNAME).tar \
$(GIT_TARNAME)/git.spec \
+ $(GIT_TARNAME)/configure \
$(GIT_TARNAME)/version \
$(GIT_TARNAME)/git-gui/version
@rm -rf $(GIT_TARNAME)