Skip to contentSkip to conversation

make dist: include configure script in tarball

PATCH In review Matthias Lederhofer 4 participants 5 messages Jun 15, 2016 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make dist: include configure script in tarball

---
 Makefile |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
Makefile +3 -2
index 0f75955..9b7efcf 100644
@@ -1009,15 +1009,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)
#1 lore raw
Quoted 1 line · Matthias Lederhofer

+dist: git.spec git-archive configure

Ack. This way you don't need autoconf to ./configure install.

Signature · 3 lines
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
#2 lore raw

Hi,

Quoted 5 lines · Jakub Narebski
Quoted 1 line · Matthias Lederhofer

+dist: git.spec git-archive configure

Ack. This way you don't need autoconf to ./configure install.

... but you force our good maintainer to have it installed...

Ciao,
Dscho

#3 lore raw
Quoted 9 lines · Johannes Schindelin
Quoted 5 lines · Jakub Narebski
Quoted 1 line · Matthias Lederhofer

+dist: git.spec git-archive configure

Ack. This way you don't need autoconf to ./configure install.

... but you force our good maintainer to have it installed...

Which is fine by me. I was wondering why this wish did not surface much earlier myself.

Not that I'd use "./configure" myself nor help debugging the autoconf-generated shell scripts ;-).

#4 lore raw

Hi,

Quoted 6 lines · Junio C Hamano
Quoted 4 lines · Johannes Schindelin
Quoted 2 lines · Jakub Narebski

Matthias Lederhofer wrote:

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

+dist: git.spec git-archive configure

Ack. This way you don't need autoconf to ./configure install.

... but you force our good maintainer to have it installed...

Which is fine by me.

Good. That was the kind of Ack I was waiting for.

Quoted 1 line

I was wondering why this wish did not surface much earlier myself.

When I was trying to be lazy, and ran configure myself on some machine (sorry, don't remember which one, might well be a MinGW setup), it did not work. So I did not push for it.

Quoted 2 lines

Not that I'd use "./configure" myself nor help debugging the autoconf-generated shell scripts ;-).

I fully understand.

Ciao,
Dscho