svn commit: r339282 - in stable/11: share/man/man5 tools/build/options

Ed Maste emaste at FreeBSD.org
Wed Oct 10 13:12:53 UTC 2018


Author: emaste
Date: Wed Oct 10 13:12:52 2018
New Revision: 339282
URL: https://svnweb.freebsd.org/changeset/base/339282

Log:
  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.

Modified:
  stable/11/share/man/man5/src.conf.5
  stable/11/tools/build/options/makeman
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/share/man/man5/src.conf.5
==============================================================================
--- stable/11/share/man/man5/src.conf.5	Wed Oct 10 13:06:31 2018	(r339281)
+++ stable/11/share/man/man5/src.conf.5	Wed Oct 10 13:12:52 2018	(r339282)
@@ -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

Modified: stable/11/tools/build/options/makeman
==============================================================================
--- stable/11/tools/build/options/makeman	Wed Oct 10 13:06:31 2018	(r339281)
+++ stable/11/tools/build/options/makeman	Wed Oct 10 13:12:52 2018	(r339282)
@@ -141,8 +141,9 @@ 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.
+.\" 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


More information about the svn-src-all mailing list