3dphotoshoot

diff android/Makefile @ 13:8cfe061ddd5f

fixed the assets directories in the android makefile
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 07 Jun 2015 02:29:10 +0300
parents abe7960e4a77
children 06dc8b9b4f89
line diff
     1.1 --- a/android/Makefile	Sat Jun 06 21:31:52 2015 +0300
     1.2 +++ b/android/Makefile	Sun Jun 07 02:29:10 2015 +0300
     1.3 @@ -37,14 +37,19 @@
     1.4  .PHONY: release
     1.5  release: $(apk-release)
     1.6  
     1.7 -$(apk-debug): $(lib) $(jsrc) AndroidManifest.xml res/data
     1.8 +$(apk-debug): $(lib) $(jsrc) AndroidManifest.xml assets/data assets/sdr
     1.9  	ant debug
    1.10  
    1.11 -$(apk-release): $(lib) $(jsrc) AndroidManifest.xml res/data
    1.12 +$(apk-release): $(lib) $(jsrc) AndroidManifest.xml assets/data assets/sdr
    1.13  	ant release
    1.14  
    1.15 -res/data:
    1.16 -	cd res && rm -f data && ln -s ../../data .
    1.17 +assets/data:
    1.18 +	mkdir -p assets
    1.19 +	cd assets && rm -f data && ln -s ../../data .
    1.20 +
    1.21 +assets/sdr:
    1.22 +	mkdir -p assets
    1.23 +	cd assets && rm -f sdr && ln -s ../../sdr .
    1.24  
    1.25  .PHONY: lib
    1.26  lib: $(lib)