diff options
author | emaste <emaste@FreeBSD.org> | 2017-05-15 13:41:38 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2017-05-15 13:41:38 +0000 |
commit | 77df97ab1a8eef2ffa32c46d4a8653a510739935 (patch) | |
tree | b393bb57a969156863c10ad486e1b88346095bea | |
parent | 18124cfbb4489771fb4c72a2c0ae5e6c4c0dcde5 (diff) | |
download | FreeBSD-src-77df97ab1a8eef2ffa32c46d4a8653a510739935.zip FreeBSD-src-77df97ab1a8eef2ffa32c46d4a8653a510739935.tar.gz |
MFC r317156: makeman: add a comment describing purpose and invocation
Sponsored by: The FreeBSD Foundation
-rwxr-xr-x | tools/build/options/makeman | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/tools/build/options/makeman b/tools/build/options/makeman index 198d8bd..fe2d883 100755 --- a/tools/build/options/makeman +++ b/tools/build/options/makeman @@ -1,8 +1,22 @@ #!/bin/sh # # This file is in the public domain. -# # $FreeBSD$ +# +# This script is used to create the src.conf.5 man page, using template text +# contained herein and the contents of the WITH_* and WITHOUT_* files in the +# same directory. Each WITH_* and WITHOUT_* file documents the effect of the +# /etc/src.conf knob with the same name. +# +# This script invokes "make showconfig" for each supported architecture in +# order to determine, for each option, whether the default setting is always +# WITH, always WITHOUT, or is architecture-dependent. It also determines +# and describes dependencies between options. +# +# Usage: +# +# cd tools/build/options +# sh makeman > ../../../share/man/man5/src.conf.5 set -o errexit export LC_ALL=C @@ -121,7 +135,7 @@ main() fbsdid='$'FreeBSD'$' cat <<EOF -.\" DO NOT EDIT-- this file is automatically generated. +.\" DO NOT EDIT-- this file is generated by tools/build/options/makeman. .\" ${fbsdid} .Dd $(echo $(LC_TIME=C date +'%B %e, %Y')) .Dt SRC.CONF 5 |