瀏覽代碼

make clean

Bob Mottram 9 年之前
父節點
當前提交
92af7a68a9
共有 2 個檔案被更改,包括 946 行新增933 行删除
  1. 13
    2
      src/freedombone-image-mesh
  2. 933
    931
      src/freedombone-mesh-install

+ 13
- 2
src/freedombone-image-mesh 查看文件

@@ -293,9 +293,16 @@ function compile_toxcore {
293 293
 	fi
294 294
 	cd $INSTALL_DIR/toxcore
295 295
 	SECONDS=0
296
+	if [ -f $INSTALL_DIR/configure_toxcore.txt ]; then
297
+		rm $INSTALL_DIR/configure_toxcore.txt
298
+	fi
299
+	if [ -f $INSTALL_DIR/make_toxcore.txt ]; then
300
+		rm $INSTALL_DIR/make_toxcore.txt
301
+	fi
296 302
 	autoreconf -i
297 303
 	./configure --enable-daemon --disable-av > $INSTALL_DIR/configure_toxcore.txt
298
-	make > $INSTALL_DIR/make_toxcore.txt
304
+	make clean
305
+	make -k > $INSTALL_DIR/make_toxcore.txt
299 306
 	if [ ! "$?" = "0" ]; then
300 307
 		duration=$SECONDS
301 308
 		echo $"Toxcore compile failed at $(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed." >> $INSTALL_LOG
@@ -393,8 +400,12 @@ function compile_tox_client {
393 400
 	fi
394 401
 
395 402
 	cd $INSTALL_DIR/toxic
403
+	if [ -f $INSTALL_DIR/make_toxic.txt ]; then
404
+		rm $INSTALL_DIR/make_toxic.txt
405
+	fi
396 406
 	SECONDS=0
397
-	make > $INSTALL_DIR/make_toxic.txt
407
+	make clean
408
+	make -k > $INSTALL_DIR/make_toxic.txt
398 409
 	if [ ! -f $INSTALL_DIR/toxic/build/toxic ]; then
399 410
 		duration=$SECONDS
400 411
 		echo $"Toxic client compile failed at $(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed." >> $INSTALL_LOG

+ 933
- 931
src/freedombone-mesh-install
文件差異過大導致無法顯示
查看文件