Show
Ignore:
Timestamp:
26.06.2012 10:49:36 (8 years ago)
Author:
jmt12
Message:

Adding conditional blocks so that packages are only rebuilt if they missing from the install directory

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/parallel-building/trunk/src/packages/CASCADE-MAKE/TINYXML.sh

    r24837 r25812  
    1515# Only compile if necessary - we don't edit these source files. 
    1616if [ ! -e "$GEXTPARALLELBUILDING_INSTALLED/lib/libtinyxml.a" ] 
    17   then 
    18     opt_run_make $compile   $package $version 
    19   else 
    20     echo "TinyXML library already compiled => no need to recompile" 
     17then 
     18  opt_run_make $compile   $package $version 
     19  opt_run_make $install   $package $version "install" 
     20else 
     21  echo "TinyXML library already compiled => no need to recompile" 
    2122fi 
    2223 
    23 opt_run_make $install   $package $version "install" 
    2424opt_run_make $clean     $package $version "clean" 
    2525opt_run_make $distclean $package $version "distclean"