######################################################################
# creates both tar files (source and documentation). call this script
# in an otherwise empty directory as follows:
# 
#   bash make_tarfile.sh 6 0 0
#
# to generate the tar files for release 6.0.0
#
######################################################################

MAJOR=$1
MINOR=$2
PATCH=$3

svn export http://www.dealii.org/svn/dealii/tags/Version-$MAJOR-$MINOR-$PATCH/deal.II

# Generate distribution tarfile

tar czf deal.II-$MAJOR.$MINOR.$PATCH.tar.gz deal.II

# Generate stripped tarfile

mv deal.II/doc deal.II/examples .
cd deal.II
mkdir doc
cd doc
touch Makefile.in
mkdir doxygen
cd doxygen
touch Makefile.in options.dox.in options.136.in header.html.in header.136.in header.tex.in
cd ../../..
tar czf deal.nodoc-$MAJOR.$MINOR.$PATCH.tar.gz deal.II
rm -rf deal.II/doc
mv doc examples deal.II

# Generate documentation

cd deal.II
./configure --with-umfpack
make online-doc
cd ..
tar czf deal.doc-$MAJOR.$MINOR.$PATCH.tar.gz deal.II/doc


######################################################################
# creates both tar files (source and documentation). call this script
# in an otherwise empty directory as follows:
#
#   bash make_tarfile.sh 6 0 0
#
# to generate the tar files for release 6.0.0
#
######################################################################

MAJOR=$1
MINOR=$2
PATCH=$3

svn export http://www.dealii.org/svn/dealii/tags/Version-$MAJOR-$MINOR-$PATCH/deal.II

# Generate distribution tarfile

tar czf deal.II-$MAJOR.$MINOR.$PATCH.tar.gz deal.II

# Generate stripped tarfile

mv deal.II/doc deal.II/examples .
tar czf deal.nodoc-$MAJOR.$MINOR.$PATCH.tar.gz deal.II
mv doc examples deal.II

# Generate documentation

cd deal.II
./configure --with-umfpack
make online-doc
cd ..
tar czf deal.doc-$MAJOR.$MINOR.$PATCH.tar.gz deal.II/doc


Create nodoc files completely without the doc/ directory.
Create nodoc files completely without the doc/ directory.


git-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@23197 0785d39b-7218-0410-832d-ea1e28bc413d
