URI: 
       improve make dist, thanks Quentin Rameau - stagit-gopher - A git gopher frontend. (mirror)
  HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
   DIR LICENSE
       ---
   DIR commit 761417d254f730739b1572f3a11185e01f28821b
   DIR parent 41c90a9173d074a9b262e8e6f4059c63bd558a7a
  HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sun, 20 Mar 2016 15:36:21 +0100
       
       improve make dist, thanks Quentin Rameau
       
       based on a patch from Quentin with some additions.
       
       - don't build before make dist
       - package in directory: stagit-VERSION.
       
       Diffstat:
         M Makefile                            |      16 ++++++++--------
       
       1 file changed, 8 insertions(+), 8 deletions(-)
       ---
   DIR diff --git a/Makefile b/Makefile
       @@ -1,7 +1,7 @@
        include config.mk
        
        NAME = stagit
       -VERSION = 0.4
       +VERSION = 0.3
        SRC = \
                stagit.c\
                stagit-index.c
       @@ -33,18 +33,18 @@ all: $(BIN)
        .c.o:
                ${CC} -c ${CFLAGS} $<
        
       -dist: $(BIN)
       -        rm -rf release/${VERSION}
       -        mkdir -p release/${VERSION}
       +dist:
       +        rm -rf stagit-${VERSION}
       +        mkdir -p stagit-${VERSION}
                cp -f ${MAN1} ${HDR} ${SCRIPTS} ${SRC} ${COMPATSRC} ${DOC} \
                        Makefile config.def.h config.mk \
                        favicon.png logo.png style.css \
                        example.sh \
       -                release/${VERSION}/
       +                stagit-${VERSION}
                # make tarball
       -        rm -f stagit-${VERSION}.tar.gz
       -        (cd release/${VERSION}; \
       -        tar -czf ../../stagit-${VERSION}.tar.gz .)
       +        tar -cf - stagit-${VERSION} | \
       +                gzip -c > stagit-${VERSION}.tar.gz
       +        rm -rf stagit-${VERSION}
        
        ${OBJ}: config.h config.mk ${HDR}