Update of /project/cxml/cvsroot/cxml In directory clnet:/tmp/cvs-serv28989
Added Files: dist.sh Log Message: cxml:unescaped, sax:unescaped
--- /project/cxml/cvsroot/cxml/dist.sh 2007/11/18 18:43:10 NONE +++ /project/cxml/cvsroot/cxml/dist.sh 2007/11/18 18:43:10 1.1 #!/bin/sh cd $(dirname $0) home=$(pwd) name=$(basename $home) dir=${name}-$(date --iso)
TMPDIR=`mktemp -d /tmp/dist.XXXXXXXXXX` cleanup() { cd rm -rf $TMPDIR } trap cleanup exit
cd $TMPDIR cvs -d "`cat $home/CVS/Root`" export -r HEAD -d "$dir" "$name"
make -C $dir/doc
tgz=$TMPDIR/${dir}.tgz tar czf $tgz $dir gpg -b -a $tgz
mv $tgz $tgz.asc $home/