Logo AND Algorithmique Numérique Distribuée

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