From 602d96340b97315c156b597a5ccbfcc135a9a682 Mon Sep 17 00:00:00 2001
From: Siri Hansen
Date: Wed, 21 Mar 2012 19:35:17 +0100
Subject: [reltool] Add configuration parameter lib_dir on application level
As a way of specifying one specific version of an application, the
following configuration parameter is added on application level:
{lib_dir,Dir}, Dir = string()
This can be useful if the parent directory of the application
directory is not suitable to use as a lib dir on system level.
---
lib/reltool/doc/src/reltool.xml | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
(limited to 'lib/reltool/doc/src/reltool.xml')
diff --git a/lib/reltool/doc/src/reltool.xml b/lib/reltool/doc/src/reltool.xml
index 696ab52e63..9a4e2d130e 100644
--- a/lib/reltool/doc/src/reltool.xml
+++ b/lib/reltool/doc/src/reltool.xml
@@ -322,8 +322,21 @@
-
The version of the application. In an installed system there may
exist several versions of an application. The vsn parameter
- controls which version of the application will be chosen. If it
- is omitted, the latest version will be chosen.
+ controls which version of the application will be chosen.
+ This parameter is mutual exclusive with lib_dir. If
+ vsn and lib_dir are both omitted, the latest version
+ will be chosen.
+
+ lib_dir
+ -
+
The directory to read the application from. This parameter
+ can be used to point out a specific location to fetch the
+ application from. This is useful for instance if the parent
+ directory for some reason is no good as a library directory on
+ system level.
+ This parameter is mutual exclusive with vsn. If
+ vsn and lib_dir are both omitted, the latest version
+ will be chosen.
mod
-
@@ -433,6 +446,7 @@ sys() = {root_dir, root_dir()}
| {excl_archive_filters, excl_archive_filters()}
| {archive_opts, [archive_opt()]}
app() = {vsn, app_vsn()}
+ | {lib_dir, lib_dir()}
| {mod, mod_name(), [mod()]}
| {mod_cond, mod_cond()}
| {incl_cond, incl_cond()}
--
cgit v1.2.3