Add setting for mods to copy to Android app

This commit is contained in:
ShadowNinja 2015-08-24 14:37:14 -04:00
parent 6c5bc14290
commit 67d38a303b

@ -14,6 +14,7 @@ PATHCFGFILE = path.cfg
ROOT = $(shell pwd) ROOT = $(shell pwd)
GAMES_TO_COPY = minetest_game GAMES_TO_COPY = minetest_game
MODS_TO_COPY =
VERSION_MAJOR := $(shell cat $(ROOT)/../../CMakeLists.txt | \ VERSION_MAJOR := $(shell cat $(ROOT)/../../CMakeLists.txt | \
@ -753,11 +754,13 @@ assets : $(ASSETS_TIMESTAMP)
cp -r ${ROOT}/../../doc ${ROOT}/assets/Minetest; \ cp -r ${ROOT}/../../doc ${ROOT}/assets/Minetest; \
cp -r ${ROOT}/../../fonts ${ROOT}/assets/Minetest; \ cp -r ${ROOT}/../../fonts ${ROOT}/assets/Minetest; \
mkdir ${ROOT}/assets/Minetest/games; \ mkdir ${ROOT}/assets/Minetest/games; \
for game in ${GAMES_TO_COPY}; \ for game in ${GAMES_TO_COPY}; do \
do \
cp -r ${ROOT}/../../games/$$game ${ROOT}/assets/Minetest/games/; \ cp -r ${ROOT}/../../games/$$game ${ROOT}/assets/Minetest/games/; \
done; \ 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}/../../po ${ROOT}/assets/Minetest; \
cp -r ${ROOT}/../../textures ${ROOT}/assets/Minetest; \ cp -r ${ROOT}/../../textures ${ROOT}/assets/Minetest; \
mkdir -p ${ROOT}/assets/Minetest/media; \ mkdir -p ${ROOT}/assets/Minetest/media; \