aboutsummaryrefslogtreecommitdiff
path: root/build/android/Makefile
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2015-08-24 14:37:14 -0400
committerShadowNinja <shadowninja@minetest.net>2015-08-24 14:37:14 -0400
commit67d38a303b38042639097f8d2f0cd64529389961 (patch)
tree1fb568b6e7301076b0009a5e3eefec2889d10be9 /build/android/Makefile
parent6c5bc14290e8895a61ca2bf9b71fa3c69857675a (diff)
downloadminetest-67d38a303b38042639097f8d2f0cd64529389961.tar.gz
minetest-67d38a303b38042639097f8d2f0cd64529389961.tar.bz2
minetest-67d38a303b38042639097f8d2f0cd64529389961.zip
Add setting for mods to copy to Android app
Diffstat (limited to 'build/android/Makefile')
-rw-r--r--build/android/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/build/android/Makefile b/build/android/Makefile
index 0a55c324c..08cc179f3 100644
--- a/build/android/Makefile
+++ b/build/android/Makefile
@@ -14,6 +14,7 @@ PATHCFGFILE = path.cfg
ROOT = $(shell pwd)
GAMES_TO_COPY = minetest_game
+MODS_TO_COPY =
VERSION_MAJOR := $(shell cat $(ROOT)/../../CMakeLists.txt | \
@@ -753,11 +754,13 @@ assets : $(ASSETS_TIMESTAMP)
cp -r ${ROOT}/../../doc ${ROOT}/assets/Minetest; \
cp -r ${ROOT}/../../fonts ${ROOT}/assets/Minetest; \
mkdir ${ROOT}/assets/Minetest/games; \
- for game in ${GAMES_TO_COPY}; \
- do \
+ for game in ${GAMES_TO_COPY}; do \
cp -r ${ROOT}/../../games/$$game ${ROOT}/assets/Minetest/games/; \
done; \
- cp -r ${ROOT}/../../mods ${ROOT}/assets/Minetest; \
+ mkdir ${ROOT}/assets/Minetest/mods; \
+ for mod in ${MODS_TO_COPY}; do \
+ cp -r ${ROOT}/../../mods/$$mod ${ROOT}/assets/Minetest/mods/; \
+ done; \
cp -r ${ROOT}/../../po ${ROOT}/assets/Minetest; \
cp -r ${ROOT}/../../textures ${ROOT}/assets/Minetest; \
mkdir -p ${ROOT}/assets/Minetest/media; \