commit 767e6c55ba45e06685521bdfdf61f14a782d5f2b
Author:     Laslo Hunhold <[email protected]>
AuthorDate: Sat Dec 25 22:33:56 2021 +0100
Commit:     Laslo Hunhold <[email protected]>
CommitDate: Sat Dec 25 22:33:56 2021 +0100

    Automatically gzip tarball
    
    Signed-off-by: Laslo Hunhold <[email protected]>

diff --git a/Makefile b/Makefile
index cb7657c..9c001e3 100644
--- a/Makefile
+++ b/Makefile
@@ -135,7 +135,7 @@ dist:
        cp $(MAN3) $(MAN7) libgrapheme-$(VERSION)/man
        cp $(SRC:=.c) src/util.h libgrapheme-$(VERSION)/src
        cp $(TEST:=.c) test/util.c test/util.h libgrapheme-$(VERSION)/test
-       tar -cf libgrapheme-$(VERSION).tar libgrapheme-$(VERSION)
+       tar -cf - libgrapheme-$(VERSION) | gzip -c > 
libgrapheme-$(VERSION).tar.gz
        rm -rf libgrapheme-$(VERSION)
 
 .PHONY: all test install uninstall clean clean-data dist

Reply via email to