From: vsr Date: Fri, 29 Nov 2013 12:54:40 +0000 (+0000) Subject: SALOME 7.3.0 preparation X-Git-Tag: V7_3_0rc1~42 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7950bbe550704cb9751217929e882bc5597b6e74;p=tools%2Finstall.git SALOME 7.3.0 preparation --- diff --git a/config_files/ATOMGEN.sh b/config_files/ATOMGEN.sh index 1fb7e55..d4d9ef5 100755 --- a/config_files/ATOMGEN.sh +++ b/config_files/ATOMGEN.sh @@ -82,7 +82,7 @@ install_source # build sources test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR} -if [ -e ./build.sh ] ; then +if [ -e ./build.sh ] && [ ! -e ${INST_ROOT}/build.sh ]; then cp -f ./build.sh ${INST_ROOT} fi diff --git a/config_files/ATOMIC.sh b/config_files/ATOMIC.sh index 4c25221..a60dffd 100755 --- a/config_files/ATOMIC.sh +++ b/config_files/ATOMIC.sh @@ -82,7 +82,7 @@ install_source # build sources test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR} -if [ -e ./build.sh ] ; then +if [ -e ./build.sh ] && [ ! -e ${INST_ROOT}/build.sh ]; then cp -f ./build.sh ${INST_ROOT} fi diff --git a/config_files/ATOMSOLV.sh b/config_files/ATOMSOLV.sh index 543a550..644004b 100755 --- a/config_files/ATOMSOLV.sh +++ b/config_files/ATOMSOLV.sh @@ -82,7 +82,7 @@ install_source # build sources test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR} -if [ -e ./build.sh ] ; then +if [ -e ./build.sh ] && [ ! -e ${INST_ROOT}/build.sh ]; then cp -f ./build.sh ${INST_ROOT} fi diff --git a/config_files/BLSURFPLUGIN.sh b/config_files/BLSURFPLUGIN.sh index 8e12a78..529d4e3 100755 --- a/config_files/BLSURFPLUGIN.sh +++ b/config_files/BLSURFPLUGIN.sh @@ -83,7 +83,7 @@ install_source # build sources test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR} -if [ -e ./build.sh ] ; then +if [ -e ./build.sh ] && [ ! -e ${INST_ROOT}/build.sh ]; then cp -f ./build.sh ${INST_ROOT} fi diff --git a/config_files/CALCULATOR.sh b/config_files/CALCULATOR.sh index d4cdb83..2945af1 100755 --- a/config_files/CALCULATOR.sh +++ b/config_files/CALCULATOR.sh @@ -82,7 +82,7 @@ install_source # build sources test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR} -if [ -e ./build.sh ] ; then +if [ -e ./build.sh ] && [ ! -e ${INST_ROOT}/build.sh ]; then cp -f ./build.sh ${INST_ROOT} fi diff --git a/config_files/COMPONENT.sh b/config_files/COMPONENT.sh index ea2aba5..8e8775d 100755 --- a/config_files/COMPONENT.sh +++ b/config_files/COMPONENT.sh @@ -82,7 +82,7 @@ install_source # build sources test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR} -if [ -e ./build.sh ] ; then +if [ -e ./build.sh ] && [ ! -e ${INST_ROOT}/build.sh ]; then cp -f ./build.sh ${INST_ROOT} fi diff --git a/config_files/DEBIANFORSALOME-3.1.sh b/config_files/DEBIANFORSALOME-3.1.sh index fb3c934..9c086d3 100755 --- a/config_files/DEBIANFORSALOME-3.1.sh +++ b/config_files/DEBIANFORSALOME-3.1.sh @@ -20,7 +20,7 @@ return 0 print_env_bin() { cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${INST_ROOT}/${PRODUCT_TYPE}.src.size + du -sk ${PRODUCT_DIR} > ${INST_ROOT}/${PRODUCT_TYPE}.bin.size + cp ${INST_ROOT}/${PRODUCT_TYPE}.bin.size ${INST_ROOT}/${PRODUCT_TYPE}.build.size +fi } install_binary() { make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE} -source ${INSTALL_WORK}/$SHRC +source ${INSTALL_WORK}/${SHRC} # create a product directory test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR} @@ -94,10 +98,10 @@ SRC_DIR=$8; REMOVE_SRC_TMP=$9; shift BIN_DIR=$9; -test $# == 10 && shift && SINGLE_DIR=$9 -export PRODUCT="DISTENE" +test $# = 10 && shift && SINGLE_DIR=$9 +export PRODUCT="MeshGems-${VERSION_MESHGEMS}" export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC source ./common.sh -$PROCEDURE +${PROCEDURE} diff --git a/config_files/DOCUMENTATION.sh b/config_files/DOCUMENTATION.sh index c6da043..44df1ec 100755 --- a/config_files/DOCUMENTATION.sh +++ b/config_files/DOCUMENTATION.sh @@ -18,20 +18,28 @@ return 0 } print_env_bin(){ -return 1 +cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <