From 0170f396f57047624b0aceedc43d664e8c72e277 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Tue, 13 Nov 2018 15:24:42 +0000 Subject: PSP: Don't hard-code the version and list of data files in the build script --- backends/platform/psp/build-psp.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'backends') 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 -- cgit v1.2.3