URI: 
       add target dist to Makefile - gramscii - A simple editor for ASCII box-and-arrow charts
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
   DIR LICENSE
       ---
   DIR commit 12031abc893ccf41c4615251698d87229f1961d2
   DIR parent dd06a37db1d4471ca9c3e84173939b22c0f7b8a5
  HTML Author: KatolaZ <katolaz@freaknet.org>
       Date:   Wed, 31 Jul 2019 12:09:18 +0100
       
       add target dist to Makefile
       
       Diffstat:
         M Makefile                            |      12 +++++++++++-
       
       1 file changed, 11 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/Makefile b/Makefile
       @@ -4,7 +4,8 @@
        include config.mk
        
        SRC = main.c draw.c screen.c files.c lineset.c
       -INC = config.h gramscii.h
       +INC = config.h gramscii.h arg.h
       +DISTFILES = ${SRC} ${INC} Makefile config.mk README.md Changelog
        
        all: options gramscii
        
       @@ -40,3 +41,12 @@ uninstall:
                @echo removing manpage from "${DESTDIR}${MANDIR}/man1"
                @rm -f "${DESTDIR}${MANDIR}/man1/gramscii.1"
        
       +dist: clean
       +        @echo "making a tarball"
       +        @mkdir -p ./gramscii-${VERSION}
       +        @rm -rf ./gramscii-${VERSION}/*
       +        @cp -R ${DISTFILES} ./gramscii-${VERSION}/
       +        @tar -cf gramscii-${VERSION}.tar ./gramscii-${VERSION}
       +        @gzip gramscii-${VERSION}.tar
       +        @rm -rf gramscii-${VERSION}
       +