aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/sdl/amigaos/amigaos.mk13
1 files 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)