Mercurial > hgrepos > hgweb.cgi > yatex
changeset 535:5cc303fb927c dev
Target "sync" revived for CVS repo.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 31 May 2018 09:22:46 +0900 |
parents | d10e53367fef |
children | 88878af9203d |
files | makefile |
diffstat | 1 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/makefile Wed May 30 23:24:32 2018 +0900 +++ b/makefile Thu May 31 09:22:46 2018 +0900 @@ -233,9 +233,8 @@ RSYNCDIR = ${HOME}/http/yatex/rsync/yatex -#sync: -# @-mkdir ${PACKDIR} -# @tar cf - ${PACK} | (cd ${PACKDIR}; tar xf -) -# syncdir -A -x CVS ${PACKDIR} ${RSYNCDIR} -# (cd ${RSYNCDIR}; cvs ci -m '') -# rm -rf ${PACKDIR} +sync: + hg archive ${PACKDIR} + syncdir -A -x CVS ${PACKDIR} ${RSYNCDIR} + (cd ${RSYNCDIR} && cvs ci -m '') + rm -rf ${PACKDIR}