From: Arun Prakash Jana Date: Sun, 29 Dec 2019 19:52:21 +0000 (+0530) Subject: On the fly dist generation X-Git-Tag: v2.9~92 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=db647e7c4c0e482f9b7fb0e351abd4730d5b5cac;p=nnn.git On the fly dist generation --- diff --git a/Makefile b/Makefile index f44963bf..b751f90e 100644 --- a/Makefile +++ b/Makefile @@ -88,8 +88,7 @@ strip: $(BIN) dist: mkdir -p nnn-$(VERSION) $(CP) -r $(DISTFILES) nnn-$(VERSION) - tar -cf nnn-$(VERSION).tar nnn-$(VERSION) - gzip nnn-$(VERSION).tar + tar -cf - nnn-$(VERSION) | gzip > nnn-$(VERSION).tar.gz $(RM) -r nnn-$(VERSION) sign: diff --git a/misc/haiku/Makefile b/misc/haiku/Makefile index dff4a7bb..9c8ff40e 100644 --- a/misc/haiku/Makefile +++ b/misc/haiku/Makefile @@ -105,8 +105,7 @@ dist: $(CP) -r $(DISTFILES) nnn-$(VERSION) mkdir -p nnn-$(VERSION)/misc $(CP) -r misc/haiku nnn-$(VERSION)/misc - tar -cf nnn-$(VERSION).tar nnn-$(VERSION) - gzip nnn-$(VERSION).tar + tar -cf - nnn-$(VERSION) | gzip > nnn-$(VERSION).tar.gz $(RM) -r nnn-$(VERSION) clean: