]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Tar-file generator
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 15 Sep 2005 13:52:54 +0000 (13:52 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 15 Sep 2005 13:52:54 +0000 (13:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@11451 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/scripts/make_tarfile.sh [new file with mode: 0644]

diff --git a/deal.II/common/scripts/make_tarfile.sh b/deal.II/common/scripts/make_tarfile.sh
new file mode 100644 (file)
index 0000000..94f326e
--- /dev/null
@@ -0,0 +1,19 @@
+######################################################################
+# We assume that the most recent checked out version of the branch
+# is in subdir checkout and configured.
+#
+# Will create both tar files (source and documentation)
+#
+######################################################################
+
+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`
+
+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
+make online-doc
+cd ..
+tar czf deal.doc-$MAJOR.$MINOR.$PATCH.tar.gz deal.II/doc/doxygen

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.