summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-04-30 21:26:35 +0000
committerbapt <bapt@FreeBSD.org>2012-04-30 21:26:35 +0000
commit89ed2f6036023c693e82ca528d76e6407e831c76 (patch)
tree12b372966ae1de24821822c51eaaec480f571857 /share
parent0ab5229941284beb42ae9a306ce80110115de611 (diff)
downloadFreeBSD-src-89ed2f6036023c693e82ca528d76e6407e831c76.zip
FreeBSD-src-89ed2f6036023c693e82ca528d76e6407e831c76.tar.gz
Add two special directives to libmap.conf:
include <file>: Parse the contents of file before continuing with the current file. includedir <dir>: Parse the contents of every file in dir that ends in .conf before continuing with the current file. Any file or directory encountered while processing include or includedir directives will be parsed exactly once, even if it is encountered multiple times. Reviewed by: kib, des Approved by: des (mentor) MFC after: 1 month
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/libmap.conf.523
1 files changed, 22 insertions, 1 deletions
diff --git a/share/man/man5/libmap.conf.5 b/share/man/man5/libmap.conf.5
index 6959ce2..784d5d0 100644
--- a/share/man/man5/libmap.conf.5
+++ b/share/man/man5/libmap.conf.5
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 31, 2004
+.Dd April 28, 2012
.Dt LIBMAP.CONF 5
.Os
.Sh NAME
@@ -43,6 +43,27 @@ left hand side containing the mapping candidate and the right hand
side containing the mapping.
Dependencies are matched against candidates and replaced with the mappings.
.Pp
+Two special directives are available:
+.Bl -tag -width indent
+.It Cm include Ar file
+Parse the contents of
+.Ar file
+before continuing with the current file.
+.It Cm includedir Ar dir
+Parse the contents of every file in
+.Ar dir
+that ends in
+.Pa .conf
+before continuing with the current file.
+.El
+.Pp
+Any file or directory encountered while processing
+.Cm include
+or
+.Cm includedir
+directives will be parsed exactly once, even if it is encountered
+multiple times.
+.Pp
Constrained mappings may be specified by enclosing the name of the
executable or library in brackets.
All mappings following a constraint will only be evaluated for that constraint.
OpenPOWER on IntegriCloud