diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-12-30 01:22:21 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-12-30 01:37:01 +0530 |
commit | db647e7c4c0e482f9b7fb0e351abd4730d5b5cac (patch) | |
tree | 8aec589dbeeaf0b6f8e3d34406d510e0fd964fa4 | |
parent | 4e59ffd9d097a3a988d0ee16befef994c695d145 (diff) | |
download | nnn-db647e7c4c0e482f9b7fb0e351abd4730d5b5cac.tar.gz |
On the fly dist generation
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | misc/haiku/Makefile | 3 |
2 files changed, 2 insertions, 4 deletions
@@ -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 dff4a7b..9c8ff40 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: |