1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-06 03:50:19 +02:00

repackaging

git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@1041 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
Nikolay Pultsin 2009-10-09 01:49:16 +00:00
parent 14b59a6141
commit ea8215da57
3 changed files with 5 additions and 3 deletions

6
README
View file

@ -1,6 +1,8 @@
How to Build for Android How to Build for Android
------------------------ ------------------------
Just execute:: Requirements: Android SDK 1.6, Android NDK 1.5
ant -f platform/android/build.xml package 1. compile native code in 'native' directory
2. edit 'local.properties' file
3. run 'ant release'

View file

@ -17,7 +17,7 @@ updateVersion() {
minor=`echo $version | cut -d . -f 2` minor=`echo $version | cut -d . -f 2`
micro=`echo $version | cut -d . -f 3` micro=`echo $version | cut -d . -f 3`
let intversion=10000*$major+100*$minor+$micro let intversion=10000*$major+100*$minor+$micro
sed "s/@INTVERSION@/$intversion/" platform/android/AndroidManifest.xml.pattern | sed "s/@VERSION@/$version/" > platform/android/AndroidManifest.xml sed "s/@INTVERSION@/$intversion/" AndroidManifest.xml.pattern | sed "s/@VERSION@/$version/" > AndroidManifest.xml
} }
buildSourceArchive() { buildSourceArchive() {