Annotation of scripts/pgallery/src/Makefile, revision 1.3
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.3 ! as 7: # $Paefchen: scripts/pgallery/src/Makefile,v 1.2 2012/08/28 10:44:41 as Exp $
1.1 as 8: #
9:
10: SRC= pgallery.sh
1.3 ! as 11: LIB= libpgallery.sh
1.2 as 12: CONF= pgallery.conf
1.1 as 13: NAME!= sh ${SRC} -v
14: DISTNAME= ${NAME}.tar.gz
15:
16: distfile: ${DISTNAME}
17:
18: clean:
19: rm -f ${DISTNAME}
20: rm -fr ${NAME}
21:
1.3 ! as 22: ${DISTNAME}: ${SRC} ${LIB}
! 23: @echo "==> create ${DISTNAME}"
1.1 as 24: mkdir ${NAME}
1.3 ! as 25: cp ${SRC} ${LIB} ${CONF} ${NAME}
1.1 as 26: tar cvzf ${DISTNAME} ${NAME}
27: rm -r ${NAME}
1.3 ! as 28: @echo "==> ready ${DISTNAME}"