Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Be sure having cmake 2.8
[simgrid.git] / buildtools / scripts / 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
6 # get config
7 if [ -e ~/simgrid-svn/buildtools/scripts/simgrid_build.conf ] ; then
8   source ~/simgrid-svn/buildtools/scripts/simgrid_build.conf
9 else
10   source ~/.simgrid_build.conf
11 fi
12
13 if [ ! -e /usr/bin/libtool ] || [ ! -e /usr/bin/automake ] || [ ! -e /usr/bin/flex ] ; then
14   echo "get Linux dependencies"
15   sudo aptitude install -y libtool automake1.10 autoconf libgcj10-dev gcc g++ bash flex flexml doxygen bibtex bibtool iconv bibtex2html addr2line valgrind transfig || true
16 fi
17
18 make_dist
19
20 echo "Done!"