--- scripts/pgallery/src/Makefile 2013/04/03 08:22:26 1.6 +++ scripts/pgallery/src/Makefile 2013/04/03 10:16:39 1.8 @@ -5,7 +5,7 @@ # 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.5 2012/09/11 16:47:16 as Exp $ +# $Paefchen: scripts/pgallery/src/Makefile,v 1.7 2013/04/03 08:31:07 as Exp $ # BIN= pgallery.sh @@ -23,13 +23,15 @@ test:: @echo ${LIB:R} clean: - rm -f ${DISTNAME} - rm -fr ${NAME} + rm -fv ${DISTNAME} + rm -frv ${NAME} ${DISTNAME}: ${SRC} ${CONF} ${LIB} @echo "==> create ${DISTNAME}" - mkdir ${NAME} - cp ${SRC} ${LIB} ${CONF} ${NAME} - tar cvzf ${DISTNAME} ${NAME} - rm -r ${NAME} + mkdir -vp ${NAME}/bin ${NAME}/lib ${NAME}/etc + cp -v ${SRC} ${NAME}/bin + cp -v ${LIB} ${NAME}/lib + cp -v ${CONF} ${NAME}/etc + tar -cvzf ${DISTNAME} ${NAME} + rm -vr ${NAME} @echo "==> ready ${DISTNAME}"