Avoid literal @generated tag in file-generating scripts
We don't want the generator itself tagged as a generated file. Reviewed by: cem Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20182
This commit is contained in:
parent
c9c8bf05a1
commit
52bcb118a9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=347328
@ -422,9 +422,12 @@ for (file_i = 0; file_i < num_files; file_i++) {
|
||||
ctmpfilename = cfilename ".tmp";
|
||||
htmpfilename = hfilename ".tmp";
|
||||
|
||||
# Avoid a literal generated file tag here.
|
||||
generated = "@" "generated";
|
||||
|
||||
common_head = \
|
||||
"/*\n" \
|
||||
" * This file is @generated automatically.\n" \
|
||||
" * This file is " generated " automatically.\n" \
|
||||
" * Do not modify anything in here by hand.\n" \
|
||||
" *\n" \
|
||||
" * Created from source file\n" \
|
||||
|
@ -139,9 +139,12 @@ if (!cfile && !hfile && !pfile && !qfile)
|
||||
if (!srcfile)
|
||||
usage();
|
||||
|
||||
# Avoid a literal generated file tag here.
|
||||
generated = "@" "generated";
|
||||
|
||||
common_head = \
|
||||
"/*\n" \
|
||||
" * This file is @generated automatically.\n" \
|
||||
" * This file is " generated " automatically.\n" \
|
||||
" * Do not modify anything in here by hand.\n" \
|
||||
" *\n" \
|
||||
" * Created from $FreeBSD$\n" \
|
||||
|
Loading…
Reference in New Issue
Block a user