File:  [Paefchen] / scripts / pgallery / src / Makefile
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Tue Sep 11 16:24:46 2012 UTC (12 years, 2 months ago) by as
Branches: MAIN
CVS tags: HEAD
- filter kaputte bilder
- navi in der übersicht optional anschalten

#
# THE BEER-WARE LICENSE 2012
# <as@paefchen.net> 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: scripts/pgallery/src/Makefile,v 1.4 2012/09/11 16:24:46 as Exp $
#

BIN=		pgallery.sh
SRC=		${BIN}
SRC+=		pgalleryindex.sh
LIB=		libpgallery.sh
CONF=		pgallery.conf
NAME!=		cp ${LIB} ${LIB:R} && sh ${BIN} -v && rm ${LIB:R}
DISTNAME=	${NAME}.tar.gz

distfile: ${DISTNAME}

test::
	@echo ${LIB:R}

clean:
	rm -f ${DISTNAME}
	rm -fr ${NAME}

${DISTNAME}: ${SRC} ${CONF} ${LIB}
	@echo "==> create ${DISTNAME}"
	mkdir ${NAME}
	cp ${SRC} ${LIB} ${CONF} ${NAME}
	tar cvzf ${DISTNAME} ${NAME}
	rm -r ${NAME}
	@echo "==> ready ${DISTNAME}"