From 80e37b527e55e27bae5b34effc54c3ca8c365d3c Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 7 Sep 2007 03:38:11 +0000 Subject: [PATCH] update the script git-svn-id: https://svn.dealii.org/trunk@15157 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/common/scripts/make_tarfile.sh | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) 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 -- 2.39.5