mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 13:13:58 +00:00
AMIGAOS: Revert some chnages to use new install path
This commit is contained in:
parent
6a4adb24d3
commit
e776921a7e
@ -5,52 +5,51 @@
|
||||
# 'mkdir' seems to incorrectly set permissions to path/dirs on AmigaOS.
|
||||
# Once a vanilla installation was created, none of the special subdirectories
|
||||
# are found/accessible (extras, themes, plugins), instead ScummVM reports
|
||||
# missing theme files and a valid translation.dat.
|
||||
# missing theme files and a mssing valid translation.dat.
|
||||
# Switching to AmigaOS' own "makedir" until there is a fix or other solution.
|
||||
#
|
||||
amigaosdist: $(EXECUTABLE) $(PLUGINS)
|
||||
makedir ALL FORCE $(AMIGAOSPATH)
|
||||
makedir ALL FORCE $(AMIGAOSPATH)/extras
|
||||
makedir all $(AMIGAOSPATH)
|
||||
cp ${srcdir}/dists/amigaos/scummvm_drawer.info $(AMIGAOSPATH).info
|
||||
cp ${srcdir}/dists/amigaos/scummvm.info $(AMIGAOSPATH)/$(EXECUTABLE).info
|
||||
ifdef DIST_FILES_DOCS
|
||||
makedir ALL FORCE $(AMIGAOSPATH)/doc
|
||||
cp -r $(srcdir)/doc/ $(AMIGAOSPATH)
|
||||
cp $(DIST_FILES_DOCS) $(AMIGAOSPATH)/doc/
|
||||
cp $(DIST_FILES_DOCS) $(AMIGAOSPATH)/doc
|
||||
# Prepare README.md for AmigaGuide conversion.
|
||||
cat ${srcdir}/README.md | sed -f ${srcdir}/dists/amigaos/convertRM.sed > README.conv
|
||||
# AmigaOS AREXX will break with a "Program not found" error, if srcdir is
|
||||
# '.'. Copy the script to cwd instead.
|
||||
# AmigaOS AREXX will error with a "Program not found" message
|
||||
# if srcdir is '.'. Copy the script to cwd instead.
|
||||
cp ${srcdir}/dists/amigaos/RM2AG.rexx .
|
||||
rx RM2AG.rexx README.conv $(AMIGAOSPATH)/doc/
|
||||
rm -f README.conv
|
||||
rm -f RM2AG.rexx
|
||||
endif
|
||||
# Copy mandatory installation files.
|
||||
makedir all $(AMIGAOSPATH)/extras
|
||||
ifdef DIST_FILES_ENGINEDATA
|
||||
cp $(DIST_FILES_ENGINEDATA) $(AMIGAOSPATH)/extras/
|
||||
cp $(DIST_FILES_ENGINEDATA) $(AMIGAOSPATH)/extras
|
||||
endif
|
||||
ifdef DIST_FILES_NETWORKING
|
||||
cp $(DIST_FILES_NETWORKING) $(AMIGAOSPATH)/extras/
|
||||
cp $(DIST_FILES_NETWORKING) $(AMIGAOSPATH)/extras
|
||||
endif
|
||||
ifdef DIST_FILES_VKEYBD
|
||||
cp $(DIST_FILES_VKEYBD) $(AMIGAOSPATH)/extras/
|
||||
cp $(DIST_FILES_VKEYBD) $(AMIGAOSPATH)/extras
|
||||
endif
|
||||
ifdef DIST_FILES_THEMES
|
||||
makedir ALL FORCE $(AMIGAOSPATH)/themes
|
||||
cp $(DIST_FILES_THEMES) $(AMIGAOSPATH)/themes/
|
||||
makedir all $(AMIGAOSPATH)/themes
|
||||
cp $(DIST_FILES_THEMES) $(AMIGAOSPATH)/themes
|
||||
endif
|
||||
# Strip and copy engine plugins.
|
||||
ifdef DYNAMIC_MODULES
|
||||
makedir ALL FORCE $(AMIGAOSPATH)/plugins
|
||||
makedir all $(AMIGAOSPATH)/plugins
|
||||
$(foreach plugin, $(PLUGINS), $(STRIP) $(plugin) -o $(AMIGAOSPATH)/$(plugin);)
|
||||
# Shared objects on AmigaOS change. To avoid conflicts with old or
|
||||
# outdated .so's, always remove and install them completely.
|
||||
# Shared objects get updates. To avoid conflicts with obsolete
|
||||
# or outdated .so's, always remove and install them completely.
|
||||
rm -rf $(AMIGAOSPATH)/sobjs
|
||||
makedir ALL FORCE $(AMIGAOSPATH)/sobjs
|
||||
makedir all $(AMIGAOSPATH)/sobjs
|
||||
# Extract and install compiled-in shared libraries.
|
||||
# Not every AmigaOS installation, especially vanilla ones, have
|
||||
# every mandatory shared library installed in the correct place.
|
||||
# Not every AmigaOS install, especially vanilla ones, will have
|
||||
# every mandatory shared library, in the correct place, available.
|
||||
cp ${srcdir}/dists/amigaos/Ext_Inst_so.rexx .
|
||||
rx Ext_Inst_so.rexx $(EXECUTABLE) $(AMIGAOSPATH)
|
||||
rm -f Ext_Inst_so.rexx
|
||||
|
Loading…
x
Reference in New Issue
Block a user