mirror of https://github.com/xemu-project/xemu.git
build: Pull dist executables from build dir
This commit is contained in:
parent
b31abbe1eb
commit
af0de4e532
8
build.sh
8
build.sh
|
@ -9,8 +9,8 @@ project_source_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd
|
||||||
package_windows() {
|
package_windows() {
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
cp i386-softmmu/qemu-system-i386.exe dist/xemu.exe
|
cp build/i386-softmmu/qemu-system-i386.exe dist/xemu.exe
|
||||||
cp i386-softmmu/qemu-system-i386w.exe dist/xemuw.exe
|
cp build/i386-softmmu/qemu-system-i386w.exe dist/xemuw.exe
|
||||||
cp -r "${project_source_dir}/data" dist/
|
cp -r "${project_source_dir}/data" dist/
|
||||||
python3 "${project_source_dir}/get_deps.py" dist/xemu.exe dist
|
python3 "${project_source_dir}/get_deps.py" dist/xemu.exe dist
|
||||||
strip dist/xemu.exe
|
strip dist/xemu.exe
|
||||||
|
@ -25,7 +25,7 @@ package_macos() {
|
||||||
|
|
||||||
# Copy in executable
|
# Copy in executable
|
||||||
mkdir -p dist/xemu.app/Contents/MacOS/
|
mkdir -p dist/xemu.app/Contents/MacOS/
|
||||||
cp i386-softmmu/qemu-system-i386 dist/xemu.app/Contents/MacOS/xemu
|
cp build/i386-softmmu/qemu-system-i386 dist/xemu.app/Contents/MacOS/xemu
|
||||||
|
|
||||||
# Copy in in executable dylib dependencies
|
# Copy in in executable dylib dependencies
|
||||||
mkdir -p dist/xemu.app/Contents/Frameworks
|
mkdir -p dist/xemu.app/Contents/Frameworks
|
||||||
|
@ -84,7 +84,7 @@ EOF
|
||||||
package_linux() {
|
package_linux() {
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
cp i386-softmmu/qemu-system-i386 dist/xemu
|
cp build/i386-softmmu/qemu-system-i386 dist/xemu
|
||||||
cp -r "${project_source_dir}/data" dist
|
cp -r "${project_source_dir}/data" dist
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue