Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
8e4495ef089b989ffe4ef879d53df6cb53995a10
[simgrid.git] / buildtools / Cmake / make_dist.sh
1 #!/bin/bash
2 # This script creates a new dist archive from the svn
3
4 set -e # fail fast on errors 
5 source ~/simgrid-svn/buildtools/Cmake/cmake_simgrid.conf # get config
6
7 echo "get Linux dependencies"
8 sudo aptitude install -y libtool automake1.10 autoconf libgcj10-dev gcc g++ bash flex flexml doxygen bibtex bibtool iconv bibtex2html addr2line valgrind transfig
9
10 echo "update the svn"
11 cd ${SIMGRID_SVN_ROOT}
12 svn up
13
14 set -x # be verbose
15
16
17 echo "rebuild the missing files for compilation"
18 ./bootstrap
19 ./configure --enable-maintainer-mode --disable-compile-optimizations
20
21 echo "Make the archive"
22 make all dist
23
24 echo "Copy the archive in position"
25 mkdir -p ${SIMGRID_BASEDIR}
26 mv simgrid*.tar.gz ${SIMGRID_BASEDIR}
27
28 echo "Done!"