瀏覽代碼

make clean, copying starting script and lib files as links

Paul Klumpp 10 年之前
父節點
當前提交
43783a931a
共有 1 個文件被更改,包括 7 次插入4 次删除
  1. 7 4
      install.sh

+ 7 - 4
install.sh

@@ -15,7 +15,7 @@ cd ${SRCPATH_QWBOT}
 
 BIN_QWBOT="cimsqwbot"
 CFG_QWBOT="cimsqwbot.cfg"
-STARTER="startcimsqwbot.sh"
+STARTER="start_cmp_qwbot.sh"
 
 
 
@@ -80,22 +80,25 @@ git submodule update --init --recursive
 # we always make them both...
 cd "$SRCPATH_LIBQWCL"
 qmake
+make clean
 make
 
 cd "${SRCPATH_QWBOT}"
 qmake
+make clean
 make
 
 
 
 if [ -d "${INST_LOCATION}" ]; then
   #copy assets over
-  echo "Copying qwbot binary..."
+  echo "Copying qwbot binary and starting script..."
   cp "${BIN_QWBOT}" "${INST_LOCATION}"
+  cp "${STARTER}" "${INST_LOCATION}"
 
   echo "Copying qwclient library..."
   mkdir -p "${INST_LOCATION}/libqwclient"
-  cp "${SRCPATH_LIBQWCL}/*.so.*" "${INST_LOCATION}/libqwclient/"
+  cp -d ${SRCPATH_LIBQWCL}/*.so.* "${INST_LOCATION}/libqwclient/"
   
   # change into that target directory
   cd ${INST_LOCATION}
@@ -146,7 +149,7 @@ if [ -d "${INST_LOCATION}" ]; then
   echo
 else
   #missing
-  echo "For some reason I can't create or access the target directory ${INST_LOCATION} ..."
+  echo "For some reason I can't create or access the target directory ${INST_LOCATION} ...is it alive?"
   exit
 fi