Skip to content

Commit b4eb614

Browse files
ShadowNinjaSapier
authored and
Sapier
committedDec 20, 2015
Android: Fix extra files being copied to the APK
dcb91cf hacked around the biggest issue this caused, but wasted a lot of CPU time and disk space It also still included a lot of other unwanted files. This removes all of `doc/` except the license, and also removes the server list.
1 parent f192a5b commit b4eb614

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

Diff for: ‎build/android/Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -739,9 +739,9 @@ assets : $(ASSETS_TIMESTAMP)
739739
cp ${ROOT}/../../minetest.conf.example ${ROOT}/assets/Minetest; \
740740
cp ${ROOT}/../../README.txt ${ROOT}/assets/Minetest; \
741741
cp -r ${ROOT}/../../builtin ${ROOT}/assets/Minetest; \
742-
cp -r ${ROOT}/../../client ${ROOT}/assets/Minetest; \
743-
cp -r ${ROOT}/../../doc ${ROOT}/assets/Minetest; \
744-
rm -rf ${ROOT}/assets/Minetest/doc/html; \
742+
mkdir ${ROOT}/assets/Minetest/client; \
743+
cp -r ${ROOT}/../../client/shaders ${ROOT}/assets/Minetest/client; \
744+
cp ${ROOT}/../../doc/lgpl-2.1.txt ${ROOT}/assets/Minetest/LICENSE.txt; \
745745
mkdir ${ROOT}/assets/Minetest/fonts; \
746746
cp -r ${ROOT}/../../fonts/*.ttf ${ROOT}/assets/Minetest/fonts/; \
747747
mkdir ${ROOT}/assets/Minetest/games; \

0 commit comments

Comments
 (0)