Makefile: tweaks to make dist target - hurl - Gopher/HTTP/HTTPS file grabber
 (HTM) git clone git://git.codemadness.org/hurl
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit d751735baf6904ccc0c81ca9050a2a683f6389f3
 (DIR) parent ee0a010dcee9362e3c6b2d1ce4d33aa1691309b5
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sun, 14 Jun 2020 14:17:52 +0200
       
       Makefile: tweaks to make dist target
       
       - use tar cf, not tar -cf, should be slightly more portable.
       - gzip from stdin, saves moving a file.
       
       Diffstat:
         M Makefile                            |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/Makefile b/Makefile
       @@ -39,12 +39,12 @@ uninstall:
                rm -f "${DESTDIR}${MANDIR}/${NAME}.1"
        
        dist: clean
       +        rm -rf "${NAME}-${VERSION}"
                mkdir -p ${NAME}-${VERSION}
                cp -R hurl.vt README LICENSE Makefile ${NAME}.1 \
                        ${NAME}.c arg.h ${NAME}-${VERSION}
       -        tar -cf ${NAME}-${VERSION}.tar ${NAME}-${VERSION}
       -        gzip ${NAME}-${VERSION}.tar
       -        mv ${NAME}-${VERSION}.tar.gz ${NAME}-${VERSION}.tar.gz
       +        tar cf - ${NAME}-${VERSION} | \
       +                gzip -c > "${NAME}-${VERSION}.tar.gz"
                rm -rf "${NAME}-${VERSION}"
        
        .PHONY: all clean dist install uninstall