scummvm/backends/platform/sdl/morphos/morphos.mk
2022-05-17 18:39:07 +02:00

26 lines
914 B
Makefile

# Special target to create an MorphOS snapshot installation.
# MorphOS shell doesn't like indented comments.
morphosdist: $(EXECUTABLE) $(PLUGINS)
mkdir -p $(MORPHOSPATH)extras
cp ${srcdir}/dists/amiga/scummvm.info $(MORPHOSPATH)/$(EXECUTABLE).info
ifdef DIST_FILES_DOCS
mkdir -p $(MORPHOSPATH)/doc
cp $(DIST_FILES_DOCS) $(MORPHOSPATH)doc/
$(foreach lang, $(DIST_FILES_DOCS_languages), makedir all $(MORPHOSPATH)/doc/$(lang); cp $(DIST_FILES_DOCS_$(lang)) $(MORPHOSPATH)/doc/$(lang);)
endif
ifdef DIST_FILES_ENGINEDATA
cp $(DIST_FILES_ENGINEDATA) $(MORPHOSPATH)extras/
endif
ifdef DIST_FILES_NETWORKING
cp $(DIST_FILES_NETWORKING) $(MORPHOSPATH)extras/
endif
ifdef DIST_FILES_VKEYBD
cp $(DIST_FILES_VKEYBD) $(MORPHOSPATH)extras/
endif
ifdef DIST_FILES_THEMES
mkdir -p $(MORPHOSPATH)themes
cp $(DIST_FILES_THEMES) $(MORPHOSPATH)themes/
endif
# Strip
$(STRIP) $(EXECUTABLE) -o $(MORPHOSPATH)$(EXECUTABLE)