|
@@ -6,6 +6,7 @@
|
|
|
build_log=BUILD_INFO.txt # Logs included in distributed archive
|
|
|
dbg_log=dbg.log #To debug this script, dropped sometimes
|
|
|
|
|
|
+echo "========= Building ========="
|
|
|
# Get and set compilation settings
|
|
|
./configure --disable-debug --disable-docs --disable-profile --disable-tests > $build_log
|
|
|
# First compile
|
|
@@ -34,8 +35,10 @@ mv $final_binary_name $build_log $name
|
|
|
tree > $dbg_log
|
|
|
|
|
|
# Create archive
|
|
|
+echo "========= Creating first archive ========="
|
|
|
tar -cvaf $name.tar.lzma $name >> $dbg_log
|
|
|
|
|
|
# Create stripped archive
|
|
|
strip $final_binary_path
|
|
|
+echo "========= Creating second (stripped) archive ========="
|
|
|
tar -cvaf ${name}_stripped.tar.lzma $name >> $dbg_log
|