Annotation of scripts/pgallery/src/Makefile, revision 1.2

1.1       as          1: #
                      2: # THE BEER-WARE LICENSE 2012
                      3: # <as@paefchen.net> wrote this file. As long as you retain this notice you
                      4: # can do whatever you want with this stuff. If we meet some day, and you think
                      5: # this stuff is worth it, you can buy me a beer in return Aron Schlesinger
                      6: #
1.2     ! as          7: # $Paefchen: scripts/pgallery/src/Makefile,v 1.1 2012/08/27 14:23:59 as Exp $
1.1       as          8: #
                      9: 
                     10: SRC=           pgallery.sh
1.2     ! as         11: CONF=          pgallery.conf
1.1       as         12: NAME!=         sh ${SRC} -v
                     13: DISTNAME=      ${NAME}.tar.gz
                     14: 
                     15: distfile: ${DISTNAME}
                     16: 
                     17: clean:
                     18:        rm -f ${DISTNAME}
                     19:        rm -fr ${NAME}
                     20: 
                     21: ${DISTNAME}: ${SRC}
                     22:        mkdir ${NAME}
1.2     ! as         23:        cp ${SRC} ${CONF} ${NAME}
1.1       as         24:        tar cvzf ${DISTNAME} ${NAME}
                     25:        rm -r ${NAME}