diff options
author | Max Horn | 2009-09-25 11:22:29 +0000 |
---|---|---|
committer | Max Horn | 2009-09-25 11:22:29 +0000 |
commit | 67564cb5323f5444a54530eda3b948320160c3bd (patch) | |
tree | b027b14562f08d85f3f50b3fdb06d574f889e97b /backends | |
parent | 1a4257f46ffd9179ebb06c4b2cb7617f4acceb6e (diff) | |
download | scummvm-rg350-67564cb5323f5444a54530eda3b948320160c3bd.tar.gz scummvm-rg350-67564cb5323f5444a54530eda3b948320160c3bd.tar.bz2 scummvm-rg350-67564cb5323f5444a54530eda3b948320160c3bd.zip |
Move wii specific stuff from ports.mk to backends/platform/wii/wii.mk
svn-id: r44343
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/wii/wii.mk | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/backends/platform/wii/wii.mk b/backends/platform/wii/wii.mk index f99288c4a6..a6f66f7ea4 100644 --- a/backends/platform/wii/wii.mk +++ b/backends/platform/wii/wii.mk @@ -21,5 +21,24 @@ wiigdb: wiidebug: $(DEVKITPPC)/bin/powerpc-gekko-gdb -n $(WII_EXE) -x $(srcdir)/backends/platform/wii/gdb.txt -.PHONY: wiiclean wiiload geckoupload wiigdb wiidebug +# target to create a Wii snapshot +wiidist: $(EXECUTABLE) + $(MKDIR) wiidist/scummvm +ifeq ($(GAMECUBE),1) + $(DEVKITPPC)/bin/elf2dol $(EXECUTABLE) wiidist/scummvm/scummvm.dol +else + $(STRIP) $(EXECUTABLE) -o wiidist/scummvm/boot.elf + $(CP) $(srcdir)/dists/wii/icon.png wiidist/scummvm/ + sed "s/@REVISION@/$(VER_SVNREV)/;s/@TIMESTAMP@/`date +%Y%m%d%H%M%S`/" < $(srcdir)/dists/wii/meta.xml > wiidist/scummvm/meta.xml +endif + sed 's/$$/\r/' < $(srcdir)/dists/wii/READMII > wiidist/scummvm/READMII.txt + for i in $(DIST_FILES_DOCS); do sed 's/$$/\r/' < $$i > wiidist/scummvm/`basename $$i`.txt; done + $(CP) $(DIST_FILES_THEMES) wiidist/scummvm/ +ifneq ($(DIST_FILES_ENGINEDATA),) + $(CP) $(DIST_FILES_ENGINEDATA) wiidist/scummvm/ +endif + $(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip wiidist/scummvm/ + + +.PHONY: wiiclean wiiload geckoupload wiigdb wiidebug wiidist |