add ability to toggle toolbar visibility, and add additional menu accelerators (patch...
[geda-gerbv.git] / build_release
blob6f09ea43a590ae84c29bd059090a669003d073ab
1 #!/bin/sh
2 # Release script for gerbv
3 # (C) 2001-2005 Stefan Petersen (spe@stacken.kth.se)
4 # $Id$
6 eval "`grep ^VERSION configure.in`"
7 RELEASE="gerbv-${VERSION}"
8 CVS_TAG="RELEASE_`echo ${VERSION}|/bin/sed -e 'y/./_/'`"
9 FILES2REMOVE="build_release rebuild_conf cvs-tag.sh files2tag.txt"
11 RESULT=`grep -c :pserver:anonymous@cvs.sourceforge.net:[0-9]*/cvsroot/gerbv ${HOME}/.cvspass`
13 if [[ $RESULT -eq 0 ]] ; then
14 echo You must login with anonymous login to get this to work!
15 exit;
18 (cd /tmp ;\
19 cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gerbv export -r ${CVS_TAG} -d ${RELEASE} gerbv ; \
20 (cd ${RELEASE} ; rm -f ${FILES2REMOVE} ; \
21 aclocal ; autoheader ; autoconf ; automake --copy --add-missing) ;\
22 tar cf ${RELEASE}.tar ${RELEASE} ;\
23 gzip ${RELEASE}.tar )
25 cp /tmp/${RELEASE}.tar.gz .
26 rm -rf /tmp/${RELEASE}.tar.gz /tmp/${RELEASE}