From: Boris Kraut Date: Sun, 10 May 2015 13:29:41 +0000 (+0200) Subject: Update documentation to cover COMMIT, VERSION and VERCODE vars X-Git-Tag: 0.4.0~79^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f3339daeeedf2359fcfc73c512ec4d03f0ee4112;p=fdroidserver.git Update documentation to cover COMMIT, VERSION and VERCODE vars --- diff --git a/docs/fdroid.texi b/docs/fdroid.texi index ad5765f8..26689477 100644 --- a/docs/fdroid.texi +++ b/docs/fdroid.texi @@ -829,7 +829,9 @@ As for 'prebuild', but runs on the source code BEFORE any other processing takes place. You can use $$SDK$$, $$NDK$$ and $$MVN3$$ to substitute the paths to the -android SDK and NDK directories, and maven 3 executable respectively. +android SDK and NDK directories, and maven 3 executable respectively. The +following per-build variables are available likewise: $$VERSION$$, +$$VERCODE$$ and $$COMMIT$$. @item oldsdkloc=yes The sdk location in the repo is in an old format, or the build.xml is @@ -943,7 +945,9 @@ the @code{srclib} directory for details of this. You can use $$SDK$$, $$NDK$$ and $$MVN3$$ to substitute the paths to the android SDK and NDK directories, and Maven 3 executable respectively e.g. -for when you need to run @code{android update project} explicitly. +for when you need to run @code{android update project} explicitly. The +following per-build variables are available likewise: $$VERSION$$, $$VERCODE$$ +and $$COMMIT$$. @item scanignore=[,,...] Enables one or more files/paths to be excluded from the scan process. @@ -967,7 +971,9 @@ mvn or gradle will be executed to clean the build environment right before build= (or the final build) is run. You can use $$SDK$$, $$NDK$$ and $$MVN3$$ to substitute the paths to the -android SDK and NDK directories, and Maven 3 executable respectively. +android SDK and NDK directories, and maven 3 executable respectively. The +following per-build variables are available likewise: $$VERSION$$, +$$VERCODE$$ and $$COMMIT$$. @item buildjni=[yes|no|] Enables building of native code via the ndk-build script before doing