8 rm -rf ${SRCDIR}/package/*.package.${TARGET_OS}
14 echo "=========================================BUILD============================================"
21 pkgname_and_platform_list=`awk 'BEGIN{RS="\n\n"; FS="\n"} /Package:/{for(i=1;i<NF;i++){if($i ~ /^OS:/){print $1,$i}}}' ${SRCDIR}/package/pkginfo.manifest | tr ' ' '@'`
22 for pkgname_and_platform in ${pkgname_and_platform_list}
24 echo "=========================================INSTALL============================================"
25 pkgname_and_platform=`echo $pkgname_and_platform | tr '@' ' '`
26 package_name=`echo ${pkgname_and_platform} | cut -f1 -d " " | cut -f2 -d ":"`
28 INSTALL_DIR=${SRCDIR}/package/${package_name}.package.${TARGET_OS}/data/platforms/${PLATFORM}
29 mkdir -p ${INSTALL_DIR}
32 INSTALL_WIDL_DIR="${INSTALL_DIR}/widlprocxmls"
33 mkdir -p ${INSTALL_WIDL_DIR}
34 cp -rf ${SRCDIR}/widlprocxmls/* ${INSTALL_WIDL_DIR}
35 INSTALL_SCHEMAS_DIR="${INSTALL_DIR}/schemas"
36 mkdir -p ${INSTALL_SCHEMAS_DIR}
37 cp -rf ${SRCDIR}/schemas/* ${INSTALL_SCHEMAS_DIR}
38 INSTALL_WEBUIFW_DIR="${INSTALL_DIR}/web-ui-fw"
39 mkdir -p ${INSTALL_WEBUIFW_DIR}
40 cp -rf ${SRCDIR}/web-ui-fw/* ${INSTALL_WEBUIFW_DIR}
41 INSTALL_DOC_DIR=${SRCDIR}/package/${package_name}.package.${TARGET_OS}/data/ide/plugins
42 mkdir -p ${INSTALL_DOC_DIR}
43 cp ${SRCDIR}/doc/* ${INSTALL_DOC_DIR}