Add the text '@generated' to src.conf.5

This is a cross-tool approach to identifying generated code. Some tools,
notably phabricator, handle this marker specially.  See
https://reviews.freebsd.org/differential/diff/42870/ for such an
example.
This commit is contained in:
eadler 2018-05-23 03:41:22 +00:00
parent 60551998ee
commit 8113741924
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,7 @@
.\" DO NOT EDIT-- this file is generated by tools/build/options/makeman.
.\" $FreeBSD$
.Dd May 15, 2018
.\" @generated
.Dd May 23, 2018
.Dt SRC.CONF 5
.Os
.Sh NAME

View File

@ -141,9 +141,11 @@ main()
echo "building src.conf.5 man page from files in ${PWD}" >&2
fbsdid='$'FreeBSD'$'
generated='@'generated
cat <<EOF
.\" DO NOT EDIT-- this file is generated by tools/build/options/makeman.
.\" ${fbsdid}
.\" ${generated}
.Dd $(echo $(LC_TIME=C date +'%B %e, %Y'))
.Dt SRC.CONF 5
.Os