From: Wolfgang Bangerth Date: Fri, 7 Sep 2007 03:38:11 +0000 (+0000) Subject: update the script X-Git-Tag: v8.0.0~9900 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0449b63a8bed3950ffeeb05e212b9c394762c8b9;p=dealii.git update the script git-svn-id: https://svn.dealii.org/trunk@15157 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/common/scripts/make_tarfile.sh b/deal.II/common/scripts/make_tarfile.sh index b66a888050..42c436ae96 100644 --- a/deal.II/common/scripts/make_tarfile.sh +++ b/deal.II/common/scripts/make_tarfile.sh @@ -1,16 +1,19 @@ ###################################################################### -# We assume that the most recent checked out version of the branch -# is in subdir checkout and configured. +# creates both tar files (source and documentation). call this script +# in an otherwise empty directory as follows: +# +# bash make_tarfile.sh 6 0 0 # -# Will create both tar files (source and documentation) +# to generate the tar files for release 6.0.0 # ###################################################################### -MAJOR=`perl -n -e "m/(\\d+)\\.(\\d+)\\.(\\d+)/; print \\$1" checkout/Version` -MINOR=`perl -n -e "m/(\\d+)\\.(\\d+)\\.(\\d+)/; print \\$2" checkout/Version` -PATCH=`perl -n -e "m/(\\d+)\\.(\\d+)\\.(\\d+)/; print \\$3" checkout/Version` +MAJOR=$1 +MINOR=$2 +PATCH=$3 + +svn export http://wolfgang.math.tamu.edu/svn/public/deal.II/tags/Version-$MAJOR-$MINOR-$PATCH/deal.II -cvs -d `cat checkout/CVS/Root` export -kv -r Version-$MAJOR-$MINOR-$PATCH deal.II tar czf deal.II-$MAJOR.$MINOR.$PATCH.tar.gz deal.II cd deal.II ./configure --with-umfpack