chiark / gitweb /
Update docs for forceversion/forcevercode.
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>
Thu, 16 Feb 2012 21:04:41 +0000 (23:04 +0200)
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>
Thu, 16 Feb 2012 21:09:57 +0000 (23:09 +0200)
README
fdroid.texi

diff --git a/README b/README
index 140b6a0d8fd166f3cc28036a8db0816c9462a125..baaeaa7a30162929da56df494455f3fe12881757 100644 (file)
--- a/README
+++ b/README
@@ -160,10 +160,13 @@ configuration to the build. These are:
                    AndroidManifest.xml.
  antcommand=xxx  - Specify an alternate ant command (target) instead of the
                    default 'release'.
- insertversion=x - If specified, the pattern 'x' in the AndroidManifest.xml is
-                   replaced with the version number for the build.
- insertvercode=x - If specified, the pattern 'x' in the AndroidManifest.xml is
-                   replaced with the version code for the build.
+ forceversion=yes - If specified, the package version in AndroidManifest.xml is
+                   replaced with the version number for the build as specified
+                   in recipe. Useful for cases when upstream repo missed to
+                   update it for specific tag, or to build an arbitrary revision.
+ forcevercode=yes - If specified, the package vercode in the AndroidManifest.xml is
+                   replaced with the version code for the build. See also
+                   forceversion.
  update=no        By default, 'android update project' is used to generate or
                    update the build.xml file. Specifying update=no bypasses
                    that.
index e3a3e89ea3df5b23da09a401e7677a1281c54ef5..f586de93de4668ce0089d4cccdfe1b47b1af69fb 100644 (file)
@@ -364,13 +364,15 @@ the directory that contains AndroidManifest.xml.
 Specify an alternate ant command (target) instead of the default
 'release'.
 
-@item insertversion=x
-If specified, the pattern 'x' in the AndroidManifest.xml is replaced
-with the version number for the build.
-
-@item insertvercode=x
-If specified, the pattern 'x' in the AndroidManifest.xml is replaced
-with the version code for the build.
+@item forceversion=yes
+If specified, the package version in AndroidManifest.xml is replaced
+with the version number for the build as specified in recipe. Useful
+for cases when upstream repo missed to update it for specific tag,
+or to build an arbitrary revision.
+
+@item forcevercode=yes
+If specified, the package vercode in the AndroidManifest.xml is replaced
+with the version code for the build. See also forceversion.
 
 @item update=no
 By default, 'android update project' is used to generate or update the