Mercurial > gftp.yaz
view docs/website/update-gftp-cvs.sh @ 575:e0e167f428ec
2004-9-29 Brian Masney <masneyb@gftp.org>
* docs/website/index.html.in - added CVS Id tag to the bottom of the
page
* docs/website/update-gftp-cvs.sh - added script to autobuild a tarball
from the latest CVS code
author | masneyb |
---|---|
date | Wed, 29 Sep 2004 23:15:13 +0000 |
parents | |
children |
line wrap: on
line source
#!/bin/sh # $Id$ GFTP_DIR=~/gftp LATEST_TAR=gftp-test.tar DEST_DIR=/home/gftp/public_html cd $GFTP_DIR $GFTP_DIR/cvsclean rm $GFTP_DIR/po/*.{po,gmo} $GFTP_DIR/po/ChangeLog $GFTP_DIR/ChangeLog $GFTP_DIR/configure.in $GFTP_DIR/Makefile.am cvs -z3 up VERSION=`cat $GFTP_DIR/configure.in | grep ^AM_INIT_AUTOMAKE | awk -F, '{print $2}' | sed s/\)//` touch $GFTP_DIR/NEWS $GFTP_DIR/AUTHORS $GFTP_DIR/autogen.sh make dist mv $GFTP_DIR/gftp-$VERSION.tar.gz $GFTP_DIR/$LATEST_TAR.gz gunzip $GFTP_DIR/$LATEST_TAR.gz bzip2 $GFTP_DIR/$LATEST_TAR mv $LATEST_TAR.bz2 $DEST_DIR