--- scripts/pgallery/src/Makefile 2012/08/27 14:23:59 1.1 +++ scripts/pgallery/src/Makefile 2013/04/03 08:22:26 1.6 @@ -1,24 +1,35 @@ # -# THE BEER-WARE LICENSE 2012 +# THE BEER-WARE LICENSE 2012,13 +# # wrote this file. As long as you retain this notice you # can do whatever you want with this stuff. If we meet some day, and you think # this stuff is worth it, you can buy me a beer in return Aron Schlesinger # -# $Paefchen$ +# $Paefchen: scripts/pgallery/src/Makefile,v 1.5 2012/09/11 16:47:16 as Exp $ # -SRC= pgallery.sh -NAME!= sh ${SRC} -v +BIN= pgallery.sh +SRC= ${BIN} +SRC+= pgalleryindex.sh +SRC+= pgallerycron.sh +LIB= libpgallery.sh +CONF= pgallery.conf +NAME!= sh ${BIN} -v DISTNAME= ${NAME}.tar.gz distfile: ${DISTNAME} +test:: + @echo ${LIB:R} + clean: rm -f ${DISTNAME} rm -fr ${NAME} -${DISTNAME}: ${SRC} +${DISTNAME}: ${SRC} ${CONF} ${LIB} + @echo "==> create ${DISTNAME}" mkdir ${NAME} - cp ${SRC} ${NAME} + cp ${SRC} ${LIB} ${CONF} ${NAME} tar cvzf ${DISTNAME} ${NAME} rm -r ${NAME} + @echo "==> ready ${DISTNAME}"