Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2019 13:04:26 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r347224 - head/sys/tools
Message-ID:  <201905071304.x47D4Q8t065127@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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" \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905071304.x47D4Q8t065127>