From: Keith Packard Date: Sun, 12 Jul 2015 03:21:34 +0000 (-0700) Subject: Generate Android version info from configure.ac X-Git-Tag: 1.6.0.4~5 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=2a85f273e33a316bd044c4c8dce17c19633cffe6 Generate Android version info from configure.ac This avoids having version data in two places. Signed-off-by: Keith Packard --- diff --git a/altosdroid/AndroidManifest.xml b/altosdroid/AndroidManifest.xml deleted file mode 100644 index 58f5077c..00000000 --- a/altosdroid/AndroidManifest.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/altosdroid/AndroidManifest.xml.in b/altosdroid/AndroidManifest.xml.in new file mode 100644 index 00000000..24035796 --- /dev/null +++ b/altosdroid/AndroidManifest.xml.in @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/configure.ac b/configure.ac index 0a7a7ea9..aa6cd798 100644 --- a/configure.ac +++ b/configure.ac @@ -19,12 +19,14 @@ dnl Process this file with autoconf to create configure. AC_PREREQ(2.57) AC_INIT([altos], 1.6.0.3) +ANDROID_VERSION=7 AC_CONFIG_SRCDIR([src/kernel/ao.h]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE VERSION_DASH=`echo $VERSION | sed 's/\./-/g'` AC_SUBST(VERSION_DASH) +AC_SUBST(ANDROID_VERSION) dnl ========================================================================== dnl Java library versions @@ -529,6 +531,7 @@ telegps/Info.plist telegps/telegps-windows.nsi altosdroid/Makefile altosdroid/local.properties +altosdroid/AndroidManifest.xml ao-tools/Makefile ao-tools/lib/Makefile ao-tools/ao-rawload/Makefile