Make boilerplate consistent with other generated files and recognizable

by licensecheck.

svn path=/trunk/; revision=48826
This commit is contained in:
Gerald Combs 2013-04-11 20:03:16 +00:00
parent fc153bf23b
commit 267a89b1f4
1 changed files with 9 additions and 8 deletions

View File

@ -37,26 +37,27 @@ if registertype == "plugin" or registertype == "plugin_wtap":
cache_filename = None
preamble = """\
/*
* Do not modify this file.
* Do not modify this file. Changes will be overwritten.
*
* It is created automatically by Makefile or Makefile.nmake.
* Generated automatically from %s.
*/
"""
""" % (sys.argv[0])
elif registertype == "dissectors":
final_filename = "register.c"
cache_filename = "register-cache.pkl"
preamble = """\
/*
* Do not modify this file.
* Do not modify this file. Changes will be overwritten.
*
* It is created automatically by the "register.c" target in
* epan/dissectors/Makefile or Makefile.nmake using information in
* epan/dissectors/register-cache.pkl.
* Generated automatically by the "register.c" target in
* epan/dissectors/Makefile or Makefile.nmake using
* %s
* and information in epan/dissectors/register-cache.pkl.
*
* You can force this file to be regenerated completely by deleting
* it along with epan/dissectors/register-cache.pkl.
*/
"""
""" % (sys.argv[0])
else:
print(("Unknown output type '%s'" % registertype))
sys.exit(1)