Enabled Launchpad build.
[dense-linear-algebra-libraries/linalg.git] / build_linalg.sh
index e76f18a41ac527545f37897f612ca5c033dfb2e4..f18130cdfdf9c091aad4e11d3e6123235b687b95 100755 (executable)
@@ -48,7 +48,10 @@ cd $LINALG_BASE_DIR
 make prebuild
 echo "Generating Debian package ..."
 LINALG_VER=`cat build/version.txt`
 make prebuild
 echo "Generating Debian package ..."
 LINALG_VER=`cat build/version.txt`
-tar -czf linalg_$LINALG_VER.tar.gz --exclude='*.git' --exclude="*.obj" --exclude="*.o" --files-from=build/tar_files_list.txt
+tar -czf linalg_$LINALG_VER.tar.gz --exclude='*.git' --exclude="*.obj" --exclude="*.o" --exclude="*.obj" --exclude="*.a" --exclude="*.ae66" --files-from=build/tar_files_list.txt
+mkdir linalg_$LINALG_VER
+tar -xf linalg_$LINALG_VER.tar.gz -C linalg_$LINALG_VER
+tar -czf linalg_$LINALG_VER.tar.gz linalg_$LINALG_VER
 
 cp -v linalg_$LINALG_VER.tar.gz $OUTPUT_DIR
 
 
 cp -v linalg_$LINALG_VER.tar.gz $OUTPUT_DIR