On the fly dist generation

This commit is contained in:
Arun Prakash Jana 2019-12-30 01:22:21 +05:30
parent 4e59ffd9d0
commit db647e7c4c
2 changed files with 2 additions and 4 deletions

View file

@ -88,8 +88,7 @@ strip: $(BIN)
dist: dist:
mkdir -p nnn-$(VERSION) mkdir -p nnn-$(VERSION)
$(CP) -r $(DISTFILES) nnn-$(VERSION) $(CP) -r $(DISTFILES) nnn-$(VERSION)
tar -cf nnn-$(VERSION).tar nnn-$(VERSION) tar -cf - nnn-$(VERSION) | gzip > nnn-$(VERSION).tar.gz
gzip nnn-$(VERSION).tar
$(RM) -r nnn-$(VERSION) $(RM) -r nnn-$(VERSION)
sign: sign:

View file

@ -105,8 +105,7 @@ dist:
$(CP) -r $(DISTFILES) nnn-$(VERSION) $(CP) -r $(DISTFILES) nnn-$(VERSION)
mkdir -p nnn-$(VERSION)/misc mkdir -p nnn-$(VERSION)/misc
$(CP) -r misc/haiku nnn-$(VERSION)/misc $(CP) -r misc/haiku nnn-$(VERSION)/misc
tar -cf nnn-$(VERSION).tar nnn-$(VERSION) tar -cf - nnn-$(VERSION) | gzip > nnn-$(VERSION).tar.gz
gzip nnn-$(VERSION).tar
$(RM) -r nnn-$(VERSION) $(RM) -r nnn-$(VERSION)
clean: clean: