From 83c318e6335cd092ca5be5727fa589cd240aead5 Mon Sep 17 00:00:00 2001 From: Hubert Maier Date: Tue, 8 Oct 2019 09:16:43 +0200 Subject: AMIGAOS4: Properly copy the doc drawer ...and add another comment and clean up.--- backends/platform/sdl/amigaos/amigaos.mk | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/backends/platform/sdl/amigaos/amigaos.mk b/backends/platform/sdl/amigaos/amigaos.mk index 7643ed153c..2f39951cbd 100644 --- a/backends/platform/sdl/amigaos/amigaos.mk +++ b/backends/platform/sdl/amigaos/amigaos.mk @@ -1,4 +1,4 @@ -# Special target to create an AmigaOS snapshot installation +# Special target to create an AmigaOS snapshot installation. amigaosdist: $(EXECUTABLE) mkdir -p $(AMIGAOSPATH) mkdir -p $(AMIGAOSPATH)/themes @@ -7,6 +7,9 @@ amigaosdist: $(EXECUTABLE) cp ${srcdir}/icons/scummvm_drawer.info $(AMIGAOSPATH).info cp ${srcdir}/icons/scummvm.info $(AMIGAOSPATH)/$(EXECUTABLE).info cp $(DIST_FILES_THEMES) $(AMIGAOSPATH)/themes/ +ifdef DIST_FILES_DOCS + cp $(DIST_FILES_DOCS) $(AMIGAOSPATH)/doc/ +endif ifdef DIST_FILES_ENGINEDATA cp $(DIST_FILES_ENGINEDATA) $(AMIGAOSPATH)/extras/ endif @@ -16,10 +19,11 @@ 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. +# Prepare README.md for AmigaGuide conversion. cat ${srcdir}/README.md | sed -f ${srcdir}/dists/amiga/convertRM.sed > README.conv -# AmigaOS's shell is not happy with indented comments, thus don't do it. -# 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 +# 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. cp ${srcdir}/dists/amiga/RM2AG.rexx . rx RM2AG.rexx README.conv @@ -27,4 +31,3 @@ endif rm RM2AG.rexx rm README.conv rm README.guide - cp $(DIST_FILES_DOCS) $(AMIGAOSPATH) -- cgit v1.2.3