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
@ -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