summaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorSven Gothel <sgothel@jausoft.com>2012-03-27 06:08:47 +0200
committerSven Gothel <sgothel@jausoft.com>2012-03-27 06:08:47 +0200
commit8d716a5e5581b3c011ee202de3021a6a34656f37 (patch)
tree8398b233a7b93d733abc8b9fcd8cbaebc72d4b8f /make/build.xml
parentb702a753152d1dd142507530b7f98044b23154eb (diff)
Conditionally make APK (if Android)
Diffstat (limited to 'make/build.xml')
-rwxr-xr-xmake/build.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/make/build.xml b/make/build.xml
index eecce3d..f6fda25 100755
--- a/make/build.xml
+++ b/make/build.xml
@@ -421,6 +421,12 @@
</fileset>
</jar>
+ <antcall target="android.package" inheritRefs="true" />
+
+ <delete file="tempversion"/>
+ </target>
+
+ <target name="android.package" if="isAndroid">
<aapt.signed
jarsrcdir="${src.java}"
jarbuilddir="${build}"
@@ -433,8 +439,6 @@
jarmanifest.path="tempversion"
version.code="${joal_int_version}"
version.name="${joal.version.plus}" />
-
- <delete file="tempversion"/>
</target>
<!-- ================================================================== -->