summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-25 10:30:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-25 10:30:40 +0000
commit5fe706a1709847c5281f11079f753ec034fb0e21 (patch)
tree5dd80875d454334230b179ee55229be5a01cf270
parent7e75143f88ee46069a4fa0dd659ca059c806464e (diff)
document extension to file pathname list; noted by jmc
-rw-r--r--share/man/man5/files.conf.520
1 files changed, 17 insertions, 3 deletions
diff --git a/share/man/man5/files.conf.5 b/share/man/man5/files.conf.5
index e7e914f6e2c..f806f156dd7 100644
--- a/share/man/man5/files.conf.5
+++ b/share/man/man5/files.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: files.conf.5,v 1.15 2007/05/31 19:19:58 jmc Exp $
+.\" $OpenBSD: files.conf.5,v 1.16 2007/11/25 10:30:39 deraadt Exp $
.\"
.\" Copyright (c) 2002 Miodrag Vallat.
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: November 25 2007 $
.Dt FILES.CONF 5
.Os
.Sh NAME
@@ -263,9 +263,23 @@ the device and pseudo-device names, except for
.\"
Kernel source files are defined as:
.Bd -literal -offset indent
-file somewhere/somefile.c dependencies need-rules
+file file-list dependencies need-rules
.Ed
.Pp
+The
+.Dq file-list
+typically only specifies only one filename.
+Alternatively a list of potential filenames can be supplied,
+seperated by
+.Dq \&| Ns ,
+and
+.Xr config 8
+will select a file based on existance.
+If
+.Dq ${MACHINE_ARCH}
+is found in the filename, it will be substited with the
+base architecture name.
+.Pp
If the
.Dq dependencies
part is empty, the file will always be compiled in.