aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp
diff options
context:
space:
mode:
authorCameron Cawley2018-11-13 15:24:42 +0000
committerDavid Turner2018-11-16 05:19:19 +0000
commit0170f396f57047624b0aceedc43d664e8c72e277 (patch)
tree0385e51cef2292c4d895a9ac8d0ecb3c7c7663c9 /backends/platform/psp
parent6227cc8bd66fc0f418a891f16c5079281a09cc15 (diff)
downloadscummvm-rg350-0170f396f57047624b0aceedc43d664e8c72e277.tar.gz
scummvm-rg350-0170f396f57047624b0aceedc43d664e8c72e277.tar.bz2
scummvm-rg350-0170f396f57047624b0aceedc43d664e8c72e277.zip
PSP: Don't hard-code the version and list of data files in the build script
Diffstat (limited to 'backends/platform/psp')
-rwxr-xr-xbackends/platform/psp/build-psp.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/backends/platform/psp/build-psp.sh b/backends/platform/psp/build-psp.sh
index 1fbeb408a1..5779555334 100755
--- a/backends/platform/psp/build-psp.sh
+++ b/backends/platform/psp/build-psp.sh
@@ -9,7 +9,9 @@ export LD_LIBRARY_PATH=/opt/toolchains/legacy-shared-objects
make distclean
./configure --host=psp --disable-debug --enable-plugins --default-dynamic --enable-release
make -j4
-mkdir scummvm-1.9.0
-cp -r AUTHORS COPYING COPYING.LGPL COPYING.BSD COPYRIGHT NEWS README gui/themes/translations.dat gui/themes/scummclassic.zip gui/themes/scummmodern.zip dists/engine-data/access.dat dists/engine-data/drascula.dat dists/engine-data/hugo.dat dists/engine-data/kyra.dat dists/engine-data/lure.dat dists/engine-data/mort.dat dists/engine-data/neverhood.dat dists/engine-data/queen.tbl dists/engine-data/sky.cpt dists/engine-data/teenagent.dat dists/engine-data/tony.dat dists/engine-data/toon.dat dists/engine-data/wintermute.zip dists/pred.dic EBOOT.PBP plugins backends/platform/psp/kbd.zip scummvm-1.9.0
-zip -r9 scummvm-1.9.0-psp.zip scummvm-1.9.0
+VERSION=`make print-distversion`
+DISTS=`make print-dists`
+mkdir scummvm-$VERSION
+cp -r $DISTS EBOOT.PBP plugins backends/platform/psp/kbd.zip scummvm-$VERSION
+zip -r9 scummvm-$VERSION-psp.zip scummvm-$VERSION