Made ZOOM_SET also set centering
[geda-gerbv/spe.git] / build_release
blobe1832e9b0d6152915a0fe63d0fa31102aad08ecb
1 #!/bin/sh
2 # Release script for gerbv
3 # (C) 2001 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.gerbv.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.gerbv.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}