From: Jonas Fonseca Date: Sun, 23 Sep 2007 21:43:08 +0000 (+0200) Subject: Include autoconf file for 'make dist' X-Git-Tag: tig-0.9.1~12 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/tig/commitdiff_plain/e8361135abcff8f7316f5696c1f84f00df55ef00?ds=inline Include autoconf file for 'make dist' --- diff --git a/Makefile b/Makefile index 6f23166..cee61d8 100644 --- a/Makefile +++ b/Makefile @@ -94,13 +94,13 @@ spell-check: strip: $(PROGS) strip $(PROGS) -dist: tig.spec +dist: configure tig.spec @mkdir -p $(TARNAME) && \ - cp tig.spec $(TARNAME) && \ + cp tig.spec configure config.h.in aclocal.m4 $(TARNAME) && \ echo $(VERSION) > $(TARNAME)/VERSION git archive --format=tar --prefix=$(TARNAME)/ HEAD | \ tar --delete $(TARNAME)/VERSION > $(TARNAME).tar && \ - tar rf $(TARNAME).tar $(TARNAME)/tig.spec $(TARNAME)/VERSION && \ + tar rf $(TARNAME).tar `find $(TARNAME)/*` && \ gzip -f -9 $(TARNAME).tar && \ md5sum $(TARNAME).tar.gz > $(TARNAME).tar.gz.md5 @rm -rf $(TARNAME)