Code

make dist: include configure script in tarball
authorMatthias Lederhofer <matled@gmx.net>
Mon, 18 Jun 2007 21:30:36 +0000 (23:30 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 24 Jun 2007 09:16:00 +0000 (02:16 -0700)
Signed-off-by: Matthias Lederhofer <matled@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index 0d904a93b9e9c6ef58edd96f189fa8a4a9c5f9b8..a98e27aa7eca2f8142e7c6894f6035a8e852d425 100644 (file)
--- 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)