Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Only rebuild the mandatory parts to make dist
[simgrid.git] / buildtools / scripts / simgrid_build.functions
index ecaeec6..d012ff4 100644 (file)
@@ -29,12 +29,13 @@ make_dist() {
     if [ ! -e configure ] ; then
       ./bootstrap
     fi
-    if [ ! -e Makefile ] ; then
-       # Disable compilation optim to make it built faster
-       ./configure --enable-maintainer-mode --disable-compile-optimizations
-    fi
+    # Reconfigure in any case or the svn version won't get updated
+    # (disable compilation optim to make it built faster)
+    ./configure --enable-maintainer-mode --disable-compile-optimizations
     echo "Make the archive"
-    make all dist
+    make -C src 
+    make -C tools
+    make dist
 
     echo "Copy the archive in position"
     mkdir -p ${SIMGRID_BASEDIR}