From 54527e7e3086758a23e3b069f183db6415aca304 Mon Sep 17 00:00:00 2001 From: Ruslan Bilovol Date: Tue, 8 Sep 2015 13:11:23 +0300 Subject: [PATCH] docs: add copyfile and linkfile elements description The "copyfile" element is available since 2009 and have been used in every Android manifest; the "linkfile" element is available since 2014. Now it's a good time to add both to the documentation Change-Id: Ia987edf5f69a006235fbd3f33b744e9794a6d964 Signed-off-by: Ruslan Bilovol --- docs/manifest-format.txt | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt index 1aa93965..7f138209 100644 --- a/docs/manifest-format.txt +++ b/docs/manifest-format.txt @@ -50,7 +50,9 @@ following DTD: + project*, + copyfile?, + linkfile?)> @@ -68,6 +70,14 @@ following DTD: + + + + + + + + @@ -285,6 +295,21 @@ prefixed with REPO__. In addition, there is an optional attribute "false". This attribute determines whether or not the annotation will be kept when exported with the manifest subcommand. +Element copyfile +---------------- + +Zero or more copyfile elements may be specified as children of a +project element. Each element describes a src-dest pair of files; +the "src" file will be copied to the "dest" place during 'repo sync' +command. +"src" is project relative, "dest" is relative to the top of the tree. + +Element linkfile +---------------- + +It's just like copyfile and runs at the same time as copyfile but +instead of copying it creates a symlink. + Element remove-project ----------------------