Mercurial > hgrepos > hgweb.cgi > after5
changeset 24:52d47e5dfe2c draft
Commited as RCS-1.19.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sun, 01 Apr 2012 22:11:26 +0900 |
parents | 069f9183361e |
children | |
files | Makefile after5.rb |
diffstat | 2 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Sun Apr 01 20:51:58 2012 +0900 +++ b/Makefile Sun Apr 01 22:11:26 2012 +0900 @@ -5,17 +5,18 @@ CC = gcc VERSION = `head after5.cgi|awk '/Id:/{print $$4}'` PNAME = after5-${VERSION} +TMPDIR = /tmp +PFILE = ${TMPDIR}/${PNAME}.tar.gz FILES = a5.c Makefile after5.cgi after5.css after5.png after5.rb \ holiday GTAR = gtar +HG = hg a5.cgi: a5.c ${CC} -o a5.cgi a5.c chmod u+s a5.cgi package: - -mkdir /tmp/${PNAME} - ${GTAR} cf - ${FILES} | (cd /tmp/${PNAME}; ${GTAR} -xvpf - --unlink) - ${GTAR} zcfC /tmp/${PNAME}.tar.gz /tmp ${PNAME} - + ${HG} archive -t tgz -X '.*' ${PFILE} + -@ls -l ${PFILE}
--- a/after5.rb Sun Apr 01 20:51:58 2012 +0900 +++ b/after5.rb Sun Apr 01 22:11:26 2012 +0900 @@ -3,7 +3,7 @@ # # Associative Scheduling Table - after5 # (C)2003, 2004, 2006, 2008, 2012 by HIROSE Yuuji [yuuji<at>gentei.org] -# $Id: after5.rb,v 1.18 2012/04/01 05:18:57 yuuji Exp yuuji $ +# $Id: after5.rb,v 1.19 2012/04/01 11:52:25 yuuji Exp $ # $HGid$ # Last modified Sun Apr 1 20:47:49 2012 on firestorm # See http://www.gentei.org/~yuuji/software/after5/