diff options
author | Hubert Maier | 2019-10-11 22:04:16 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-10-13 13:08:05 +0200 |
commit | 58bbcdc24c750e9a2bfae951c81399151e4c7264 (patch) | |
tree | 45da4d5210e3dfe9d2188df35d466c79b4d2924d /backends/platform/sdl/amigaos/amigaos.mk | |
parent | 75ebbc865f9d84a31a97b4dbd2e9434bc15b6335 (diff) | |
download | scummvm-rg350-58bbcdc24c750e9a2bfae951c81399151e4c7264.tar.gz scummvm-rg350-58bbcdc24c750e9a2bfae951c81399151e4c7264.tar.bz2 scummvm-rg350-58bbcdc24c750e9a2bfae951c81399151e4c7264.zip |
AMIGAOS4: Further update amigaos.mk
- Reordering, restructuring and updating
- Added shared library plugins copying, if available
- Added copying doc / subdir
- Changed copying DIST_FILES_DOCS to doc/ subdir
- Added some comments
Diffstat (limited to 'backends/platform/sdl/amigaos/amigaos.mk')
-rw-r--r-- | backends/platform/sdl/amigaos/amigaos.mk | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/backends/platform/sdl/amigaos/amigaos.mk b/backends/platform/sdl/amigaos/amigaos.mk index 2f39951cbd..0edb1b6b9d 100644 --- a/backends/platform/sdl/amigaos/amigaos.mk +++ b/backends/platform/sdl/amigaos/amigaos.mk @@ -1,13 +1,12 @@ # Special target to create an AmigaOS snapshot installation. +# AmigaOS shell doesn't like indented comments. amigaosdist: $(EXECUTABLE) mkdir -p $(AMIGAOSPATH) - mkdir -p $(AMIGAOSPATH)/themes mkdir -p $(AMIGAOSPATH)/extras - $(STRIP) $(EXECUTABLE) -o $(AMIGAOSPATH)/$(EXECUTABLE) - cp ${srcdir}/icons/scummvm_drawer.info $(AMIGAOSPATH).info - cp ${srcdir}/icons/scummvm.info $(AMIGAOSPATH)/$(EXECUTABLE).info - cp $(DIST_FILES_THEMES) $(AMIGAOSPATH)/themes/ + cp ${srcdir}/dists/amiga/scummvm_drawer.info $(AMIGAOSPATH).info + cp ${srcdir}/dists/amiga/scummvm.info $(AMIGAOSPATH)/$(EXECUTABLE).info ifdef DIST_FILES_DOCS + cp -r $(srcdir)/doc/ $(AMIGAOSPATH) cp $(DIST_FILES_DOCS) $(AMIGAOSPATH)/doc/ endif ifdef DIST_FILES_ENGINEDATA @@ -19,12 +18,21 @@ endif ifdef DIST_FILES_VKEYBD cp $(DIST_FILES_VKEYBD) $(AMIGAOSPATH)/extras/ endif -# AmigaOS shell is not happy with indented comments, thus don't do it. +# Copy shared library plugins, if available. +ifdef DYNAMIC_MODULES + mkdir -p $(AMIGAOSPATH)/plugins + cp $(PLUGINS) -o $(AMIGAOSPATH)/plugins/ +endif +ifdef DIST_FILES_THEMES + mkdir -p $(AMIGAOSPATH)/themes + cp $(DIST_FILES_THEMES) $(AMIGAOSPATH)/themes/ +endif + $(STRIP) $(EXECUTABLE) -o $(AMIGAOSPATH)/$(EXECUTABLE) # Prepare README.md for AmigaGuide conversion. cat ${srcdir}/README.md | sed -f ${srcdir}/dists/amiga/convertRM.sed > README.conv -# AREXX seems to have a problem if ${srcdir} is '.'. It will break with -# a "Program not found" error. Therefore we copy the script to cwd and -# remove it again, once it has finished. +# AmigaOS AREXX has a problem when ${srcdir} is '.'. +# It will break with a "Program not found" error. +# We copy the script to cwd first and, once it has finished, remove it again. cp ${srcdir}/dists/amiga/RM2AG.rexx . rx RM2AG.rexx README.conv cp README.guide $(AMIGAOSPATH) |