Author: eadler
Date: Wed May 23 03:41:22 2018
New Revision: 334072
URL: https://svnweb.freebsd.org/changeset/base/334072

Log:
  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:
  head/share/man/man5/src.conf.5
  head/tools/build/options/makeman

Modified: head/share/man/man5/src.conf.5
==============================================================================
--- head/share/man/man5/src.conf.5      Wed May 23 02:54:28 2018        
(r334071)
+++ head/share/man/man5/src.conf.5      Wed May 23 03:41:22 2018        
(r334072)
@@ -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

Modified: head/tools/build/options/makeman
==============================================================================
--- head/tools/build/options/makeman    Wed May 23 02:54:28 2018        
(r334071)
+++ head/tools/build/options/makeman    Wed May 23 03:41:22 2018        
(r334072)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to