X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=config_files%2Fbuild.csh;h=1e2b08c8bfd02663aa23bdfc06692a3ccf4935fd;hb=87764e2c31529d2b59095d6cf02f5a09262b48a2;hp=0b6025f25663cb26f29a7aaed7170b8293e2a135;hpb=e49ea8bedc5e6cfbb9995da3233b7b4457838a16;p=tools%2Finstall.git diff --git a/config_files/build.csh b/config_files/build.csh index 0b6025f..1e2b08c 100755 --- a/config_files/build.csh +++ b/config_files/build.csh @@ -6,7 +6,7 @@ # Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) # Project : SALOME # Module : Installation Wizard -# Copyright : 2002-2007 CEA +# Copyright : 2002-2008 CEA # # This script is the part of the SALOME installation procedure. # @@ -17,17 +17,18 @@ set is_build_configure=0 set is_configure=0 -set med_with_gui=1 +set inst_with_gui=1 set is_delete=0 set verbose_level=2 set params="" -set b_params="" -set modules=(KERNEL GUI GEOM MED SMESH VISU SUPERV NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT SIERPINSKY RANDOMIZER FILTER YACS MULTIPR) +set modules=(KERNEL GUI GEOM MED SMESH VISU YACS NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT PYLIGHT SIERPINSKY RANDOMIZER MULTIPR) set optim="" -set is_install=0 +set is_install=1 set is_help=0 set is_tui=0 set prefix="" +set def_install_dir="/INSTALL" +set b_params="" ######################################################### # parse parameters @@ -39,13 +40,11 @@ while ( ${%1} > 0 ) else if ( "$1" == "-c" ) then set is_configure=1 else if ( "$1" == "-w" ) then - set med_with_gui=0 + set inst_with_gui=0 else if ( "$1" == "-d" ) then set is_delete=1 else if ( "$1" == "-o" ) then set optim="--enable-production=yes --disable-debug" - else if ( "$1" == "-i" ) then - set is_install=1 else if ( "$1" == "-v" ) then shift set verbose_level=$1 @@ -58,12 +57,12 @@ while ( ${%1} > 0 ) else if ( "$1" == "-t" ) then set is_tui=1 else - set ckt=`echo ${modules} | grep $1` + set ckt=`echo ${modules} | grep -E "\<$1\>"` if ( "$ckt" != "" ) then set params="$params $1" else set b_params="$b_params $1" - echo "\!\!\! Warning \!\!\! Unknown module: $1. Skipping." + echo "\!\!\! Warning \!\!\! Unknown module: $1." endif endif shift @@ -76,7 +75,7 @@ if ( $is_help == 1 ) then echo "" echo "" echo "Description:" -echo " Builds given SALOME modules by performing make and (optionally) make install commands" +echo " Builds given SALOME modules by performing make and make install commands" echo "" echo "Usage:" echo " build.csh [