Makefile.am: generate icon before compiling JNI classes

Apparently, Android's build.xml requires the icon to be available,
even when only running the Java compiler.
This commit is contained in:
Max Kellermann 2015-01-31 00:05:01 +01:00
parent 3adca3c2fa
commit df43b6a05c

View File

@ -283,7 +283,7 @@ android/build/build.xml: android/AndroidManifest.xml
ln -s $(abs_srcdir)/android/res/values android/build/res
$(ANDROID_SDK)/tools/android update project --path android/build --target android-17
android/build/bin/classes/org/musicpd/Bridge.class: android/src/Bridge.java android/build/build.xml
android/build/bin/classes/org/musicpd/Bridge.class: android/src/Bridge.java android/build/build.xml android/build/res/drawable/icon.png
cd android/build && ant compile-jni-classes
android/build/include/org_musicpd_Bridge.h: android/build/bin/classes/org/musicpd/Bridge.class