aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorFabio Battaglia2010-09-09 13:30:15 +0000
committerFabio Battaglia2010-09-09 13:30:15 +0000
commit68dd99643c63a20baec740923f69a470615eae38 (patch)
treefc8b9faf1416c770d1a585bb2ebb4814b633e5d9 /backends
parent8264bb704feca50ab6f9f6dcd000b924e0fcd11a (diff)
downloadscummvm-rg350-68dd99643c63a20baec740923f69a470615eae38.tar.gz
scummvm-rg350-68dd99643c63a20baec740923f69a470615eae38.tar.bz2
scummvm-rg350-68dd99643c63a20baec740923f69a470615eae38.zip
DINGUX and N64: changes to dists targets
Run instructions to copy engine data only if there is really some datafiles to copy for the built engines. svn-id: r52656
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/dingux/dingux.mk2
-rw-r--r--backends/platform/n64/n64.mk2
2 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/dingux/dingux.mk b/backends/platform/dingux/dingux.mk
index cf18a680e7..9ccbcfade3 100644
--- a/backends/platform/dingux/dingux.mk
+++ b/backends/platform/dingux/dingux.mk
@@ -16,7 +16,9 @@ dingux-dist: all
$(MKDIR) $(bundle_name)/saves
$(STRIP) $(EXECUTABLE) -o $(bundle_name)/scummvm.elf
$(CP) $(DIST_FILES_THEMES) $(bundle_name)/
+ifdef DIST_FILES_ENGINEDATA
$(CP) $(DIST_FILES_ENGINEDATA) $(bundle_name)/
+endif
$(CP) $(DIST_FILES_DOCS) $(bundle_name)/
ifdef DYNAMIC_MODULES
$(MKDIR) $(bundle_name)/plugins
diff --git a/backends/platform/n64/n64.mk b/backends/platform/n64/n64.mk
index 580bdce7ce..2e383e670d 100644
--- a/backends/platform/n64/n64.mk
+++ b/backends/platform/n64/n64.mk
@@ -15,7 +15,9 @@ n64-distclean:
n64-dist: all
$(MKDIR) $(bundle_name)
$(MKDIR) $(bundle_name)/romfs
+ifdef DIST_FILES_ENGINEDATA
$(CP) $(DIST_FILES_ENGINEDATA) $(bundle_name)/romfs
+endif
$(CP) $(DIST_FILES_DOCS) $(bundle_name)/
$(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip $(bundle_name)/romfs
genromfs -f $(bundle_name)/romfs.img -d $(bundle_name)/romfs -V scummvmn64