diff options
-rw-r--r-- | share/man/man5/files.conf.5 | 20 |
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. |