aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reltool/doc/src/reltool.xml
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2011-12-05 12:24:26 +0100
committerSiri Hansen <[email protected]>2011-12-05 12:24:26 +0100
commit1443c80ff59c46674855880a1f75e28480e6db4e (patch)
tree7a094c1909a470eceac3f09facd34c803fc4c46f /lib/reltool/doc/src/reltool.xml
parent9c14afeb742f9e20ead11316a467483d4a0c48ba (diff)
downloadotp-1443c80ff59c46674855880a1f75e28480e6db4e.tar.gz
otp-1443c80ff59c46674855880a1f75e28480e6db4e.tar.bz2
otp-1443c80ff59c46674855880a1f75e28480e6db4e.zip
Add recommendation about RootDir parameter to reltool:eval_target_spec/3
Diffstat (limited to 'lib/reltool/doc/src/reltool.xml')
-rw-r--r--lib/reltool/doc/src/reltool.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/reltool/doc/src/reltool.xml b/lib/reltool/doc/src/reltool.xml
index 31e15e34e7..79e88f8bbc 100644
--- a/lib/reltool/doc/src/reltool.xml
+++ b/lib/reltool/doc/src/reltool.xml
@@ -558,7 +558,17 @@ target_spec() = [target_spec()]
<c>true</c> there is no need to install the target system with
<c>reltool:install/2</c> before it can be started. In that case
the file tree containing the target system can be moved without
- re-installation.</p></desc>
+ re-installation.</p>
+
+ <p>In most cases, the <c>RootDir</c> parameter should be set to
+ the same as the <c>root_dir</c> configuration parameter used in
+ the call to <c>reltool:get_target_spec/1</c>
+ (or <c>code:root_dir()</c> if the configuration parameter is not
+ set). In some cases it might be useful to evaluate the same
+ target specification towards different root directories. This
+ should, however, be used with great care as it requires
+ equivalent file structures under all roots.</p>
+ </desc>
</func>
<func>