From 5dbad9a43fa8e1b7d88c27c9f2a549bae239c1ad Mon Sep 17 00:00:00 2001 From: emaste Date: Wed, 10 Oct 2018 13:12:52 +0000 Subject: [PATCH] MFC r334072, r334247 (eadler): 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. --- share/man/man5/src.conf.5 | 2 +- tools/build/options/makeman | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5 index 1fec0728aea..55c345450fe 100644 --- a/share/man/man5/src.conf.5 +++ b/share/man/man5/src.conf.5 @@ -1,4 +1,4 @@ -.\" DO NOT EDIT-- this file is generated by tools/build/options/makeman. +.\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman. .\" $FreeBSD$ .Dd June 22, 2018 .Dt SRC.CONF 5 diff --git a/tools/build/options/makeman b/tools/build/options/makeman index 2003aa68a93..84a5bcec3e5 100755 --- a/tools/build/options/makeman +++ b/tools/build/options/makeman @@ -141,8 +141,9 @@ main() echo "building src.conf.5 man page from files in ${PWD}" >&2 fbsdid='$'FreeBSD'$' + generated='@'generated cat <