aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorrsn88872019-05-22 09:56:00 -0500
committerrsn88872019-05-22 09:56:00 -0500
commitf7ba39c4d519063d6b0fc2968fcf67c5e9600b95 (patch)
treeb7b3badcb225c2c9c4641910df138b2209146c4e /backends
parent7407cbc7880989f4444daeb53ac60b93be4ced8c (diff)
downloadscummvm-rg350-f7ba39c4d519063d6b0fc2968fcf67c5e9600b95.tar.gz
scummvm-rg350-f7ba39c4d519063d6b0fc2968fcf67c5e9600b95.tar.bz2
scummvm-rg350-f7ba39c4d519063d6b0fc2968fcf67c5e9600b95.zip
SWITCH: add makefile target switch_release for buildbot
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/sdl/switch/switch.mk12
1 files changed, 11 insertions, 1 deletions
diff --git a/backends/platform/sdl/switch/switch.mk b/backends/platform/sdl/switch/switch.mk
index 376b59f01c..0f5e23f157 100644
--- a/backends/platform/sdl/switch/switch.mk
+++ b/backends/platform/sdl/switch/switch.mk
@@ -4,6 +4,16 @@ scummvm.nro: $(EXECUTABLE)
nacptool --create "ScummVM" "Cpasjuste" "$(VERSION)" ./switch_release/scummvm.nacp
elf2nro $(EXECUTABLE) ./switch_release/scummvm/scummvm.nro --icon=$(srcdir)/dists/switch/icon.jpg --nacp=./switch_release/scummvm.nacp
+switch_release: scummvm.nro
+ rm -f ./switch_release/scummvm.nacp
+ cp $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip ./switch_release/scummvm/data
+ cp $(srcdir)/backends/vkeybd/packs/vkeybd_small.zip ./switch_release/scummvm/data
+ cp $(DIST_FILES_THEMES) ./switch_release/scummvm/data
+ifdef DIST_FILES_ENGINEDATA
+ cp $(DIST_FILES_ENGINEDATA) ./switch_release/scummvm/data
+endif
+ cp $(DIST_FILES_DOCS) ./switch_release/scummvm/doc/
+
scummvm_switch.zip: scummvm.nro
rm -f ./switch_release/scummvm.nacp
cp $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip ./switch_release/scummvm/data
@@ -15,5 +25,5 @@ endif
cp $(DIST_FILES_DOCS) ./switch_release/scummvm/doc/
cd ./switch_release && zip -r ../scummvm_switch.zip . && cd ..
-.PHONY: scummvm.nro scummvm_switch.zip
+.PHONY: scummvm.nro switch_release scummvm_switch.zip