aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/amigaos
diff options
context:
space:
mode:
authorHubert Maier2016-02-14 21:41:05 +0200
committerJohannes Schickel2016-02-17 11:58:48 +0100
commit89e9a36af546921afa7b870430e0405b0aa87048 (patch)
tree03217d0b66924fb162b90ae6b50d2d501c334720 /backends/platform/sdl/amigaos
parenta7eed85f3be86ca8b0045cc4dce149305237169a (diff)
downloadscummvm-rg350-89e9a36af546921afa7b870430e0405b0aa87048.tar.gz
scummvm-rg350-89e9a36af546921afa7b870430e0405b0aa87048.tar.bz2
scummvm-rg350-89e9a36af546921afa7b870430e0405b0aa87048.zip
AMIGAOS: Fix 'amigaosdist' for in-tree builds on AmigaOS.
AmigaOS's Rexx interpreter seems to have problems with './' in the path to the Rexx script. We work around this by copying it to the cwd and using it from there. Manual merge of PR #669 "AMIGAOS: Fix amigaos.mk to make the rexx script work on local builds".
Diffstat (limited to 'backends/platform/sdl/amigaos')
-rw-r--r--backends/platform/sdl/amigaos/amigaos.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/backends/platform/sdl/amigaos/amigaos.mk b/backends/platform/sdl/amigaos/amigaos.mk
index ed0fd1d556..c4928ece13 100644
--- a/backends/platform/sdl/amigaos/amigaos.mk
+++ b/backends/platform/sdl/amigaos/amigaos.mk
@@ -11,8 +11,13 @@ ifdef DIST_FILES_ENGINEDATA
cp $(DIST_FILES_ENGINEDATA) $(AMIGAOSPATH)/extras/
endif
cat ${srcdir}/README | sed -f ${srcdir}/dists/amiga/convertRM.sed > README.conv
- rx ${srcdir}/dists/amiga/RM2AG.rx README.conv
+ # AREXX seems to have problems when ${srcdir} is '.'. It will break with a
+ # "Program not found" error. Therefore we copy the script to the cwd and
+ # remove it again, once it has finished.
+ cp ${srcdir}/dists/amiga/RM2AG.rx .
+ rx RM2AG.rx README.conv
cp README.guide $(AMIGAOSPATH)
+ rm RM2AG.rx
rm README.conv
rm README.guide
cp $(DIST_FILES_DOCS) $(AMIGAOSPATH)