Author: emaste
Date: Tue May  7 13:04:26 2019
New Revision: 347224
URL: https://svnweb.freebsd.org/changeset/base/347224

Log:
  Use @generated tag in generated files
  
  Multiple tools use @generated to identify generated files (for example,
  in a review Phabricator will by default hide diffs in generated files).
  Use the @generated tag in makeobjops.awk and vnode_if.awk as we've done
  for other generated files.
  
  Sponsored by: The FreeBSD Foundation

Modified:
  head/sys/tools/makeobjops.awk
  head/sys/tools/vnode_if.awk

Modified: head/sys/tools/makeobjops.awk
==============================================================================
--- head/sys/tools/makeobjops.awk       Tue May  7 10:01:45 2019        
(r347223)
+++ head/sys/tools/makeobjops.awk       Tue May  7 13:04:26 2019        
(r347224)
@@ -424,7 +424,7 @@ for (file_i = 0; file_i < num_files; file_i++) {
 
        common_head = \
            "/*\n" \
-           " * This file is produced automatically.\n" \
+           " * This file is @generated automatically.\n" \
            " * Do not modify anything in here by hand.\n" \
            " *\n" \
            " * Created from source file\n" \

Modified: head/sys/tools/vnode_if.awk
==============================================================================
--- head/sys/tools/vnode_if.awk Tue May  7 10:01:45 2019        (r347223)
+++ head/sys/tools/vnode_if.awk Tue May  7 13:04:26 2019        (r347224)
@@ -141,7 +141,7 @@ if (!srcfile)
 
 common_head = \
     "/*\n" \
-    " * This file is produced automatically.\n" \
+    " * This file is @generated automatically.\n" \
     " * Do not modify anything in here by hand.\n" \
     " *\n" \
     " * Created from $FreeBSD$\n" \
_______________________________________________
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