From db647e7c4c0e482f9b7fb0e351abd4730d5b5cac Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 30 Dec 2019 01:22:21 +0530 Subject: On the fly dist generation --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f44963b..b751f90 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: -- cgit v1.2.3-70-g09d2