Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix some small glitches
[simgrid.git] / buildtools / Cmake / make_dist.sh
index 4af39e1..ef05ba0 100755 (executable)
@@ -1,30 +1,12 @@
 #!/bin/bash
-
-# fail fast on errors
-set -e
-
 # This script creates a new dist archive from the svn
-source ~/simgrid-svn/buildtools/Cmake/cmake_simgrid.conf
-
-echo "get Linux dependencies"
-sudo aptitude install -y libtool automake1.10 autoconf libgcj10-dev gcc g++ bash flex flexml doxygen bibtex bibtool iconv bibtex2html addr2line valgrind
 
-echo "update the svn"
-cd ${SIMGRID_SVN_ROOT}
-svn up
+set -e # fail fast on errors 
+source ~/simgrid-svn/buildtools/Cmake/cmake_simgrid.conf # get config
 
-set -x # be verbose
-
-
-echo "rebuild the missing files for compilation"
-./bootstrap
-./configure --enable-maintainer-mode --disable-compile-optimizations
-
-echo "Make the archive"
-make all dist
+echo "get Linux dependencies"
+sudo aptitude install -y libtool automake1.10 autoconf libgcj10-dev gcc g++ bash flex flexml doxygen bibtex bibtool iconv bibtex2html addr2line valgrind transfig
 
-echo "Copy the archive in position"
-mkdir -p ${SIMGRID_BASEDIR}
-mv simgrid*.tar.gz ${SIMGRID_BASEDIR}
+make_dist
 
 echo "Done!"