blob: 2f39951cbdc1fb900c404973ca12654294440c61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Special target to create an AmigaOS snapshot installation.
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/
ifdef DIST_FILES_DOCS
cp $(DIST_FILES_DOCS) $(AMIGAOSPATH)/doc/
endif
ifdef DIST_FILES_ENGINEDATA
cp $(DIST_FILES_ENGINEDATA) $(AMIGAOSPATH)/extras/
endif
ifdef DIST_FILES_NETWORKING
cp $(DIST_FILES_NETWORKING) $(AMIGAOSPATH)/extras/
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
# 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
cp README.guide $(AMIGAOSPATH)
rm RM2AG.rexx
rm README.conv
rm README.guide
|