2 # Release script for gerbv
3 # (C) 2001 Stefan Petersen (spe@stacken.kth.se)
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
!
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} ;\
25 cp /tmp
/${RELEASE}.
tar.gz .
26 rm -rf /tmp
/${RELEASE}.
tar.gz
/tmp
/${RELEASE}