Annotation of scripts/pgallery/src/Makefile, revision 1.6
1.1 as 1: #
1.6 ! as 2: # THE BEER-WARE LICENSE 2012,13
! 3: #
1.1 as 4: # <as@paefchen.net> wrote this file. As long as you retain this notice you
5: # can do whatever you want with this stuff. If we meet some day, and you think
6: # this stuff is worth it, you can buy me a beer in return Aron Schlesinger
7: #
1.6 ! as 8: # $Paefchen: scripts/pgallery/src/Makefile,v 1.5 2012/09/11 16:47:16 as Exp $
1.1 as 9: #
10:
1.4 as 11: BIN= pgallery.sh
12: SRC= ${BIN}
13: SRC+= pgalleryindex.sh
1.6 ! as 14: SRC+= pgallerycron.sh
1.3 as 15: LIB= libpgallery.sh
1.2 as 16: CONF= pgallery.conf
1.5 as 17: NAME!= sh ${BIN} -v
1.1 as 18: DISTNAME= ${NAME}.tar.gz
19:
20: distfile: ${DISTNAME}
21:
1.4 as 22: test::
23: @echo ${LIB:R}
24:
1.1 as 25: clean:
26: rm -f ${DISTNAME}
27: rm -fr ${NAME}
28:
1.4 as 29: ${DISTNAME}: ${SRC} ${CONF} ${LIB}
1.3 as 30: @echo "==> create ${DISTNAME}"
1.1 as 31: mkdir ${NAME}
1.3 as 32: cp ${SRC} ${LIB} ${CONF} ${NAME}
1.1 as 33: tar cvzf ${DISTNAME} ${NAME}
34: rm -r ${NAME}
1.3 as 35: @echo "==> ready ${DISTNAME}"