version 1.2, 2012/08/28 10:44:41
|
version 1.5, 2012/09/11 16:47:16
|
Line 4
|
Line 4
|
# can do whatever you want with this stuff. If we meet some day, and you think |
# 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 |
# this stuff is worth it, you can buy me a beer in return Aron Schlesinger |
# |
# |
# $Paefchen: scripts/pgallery/src/Makefile,v 1.1 2012/08/27 14:23:59 as Exp $ | # $Paefchen: scripts/pgallery/src/Makefile,v 1.4 2012/09/11 16:24:46 as Exp $ |
# |
# |
|
|
SRC= pgallery.sh | BIN= pgallery.sh |
| SRC= ${BIN} |
| SRC+= pgalleryindex.sh |
| LIB= libpgallery.sh |
CONF= pgallery.conf |
CONF= pgallery.conf |
NAME!= sh ${SRC} -v | NAME!= sh ${BIN} -v |
DISTNAME= ${NAME}.tar.gz |
DISTNAME= ${NAME}.tar.gz |
|
|
distfile: ${DISTNAME} |
distfile: ${DISTNAME} |
|
|
|
test:: |
|
@echo ${LIB:R} |
|
|
clean: |
clean: |
rm -f ${DISTNAME} |
rm -f ${DISTNAME} |
rm -fr ${NAME} |
rm -fr ${NAME} |
|
|
${DISTNAME}: ${SRC} | ${DISTNAME}: ${SRC} ${CONF} ${LIB} |
| @echo "==> create ${DISTNAME}" |
mkdir ${NAME} |
mkdir ${NAME} |
cp ${SRC} ${CONF} ${NAME} | cp ${SRC} ${LIB} ${CONF} ${NAME} |
tar cvzf ${DISTNAME} ${NAME} |
tar cvzf ${DISTNAME} ${NAME} |
rm -r ${NAME} |
rm -r ${NAME} |
|
@echo "==> ready ${DISTNAME}" |