aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-01-31 00:05:01 +0100
committerMax Kellermann <max@duempel.org>2015-01-31 00:05:30 +0100
commitdf43b6a05cc231cd45ebf06415a8095d6ff6d98d (patch)
tree7ec0e3265229797a93a73fb33fdede4e8b1c8953
parent3adca3c2fa21c4062aff62872b8f7f71d7cffe3e (diff)
downloadmpd-df43b6a05cc231cd45ebf06415a8095d6ff6d98d.tar.gz
mpd-df43b6a05cc231cd45ebf06415a8095d6ff6d98d.tar.xz
mpd-df43b6a05cc231cd45ebf06415a8095d6ff6d98d.zip
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.
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 7131dd9d4..027fe0098 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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