diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-04-11 20:03:16 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-04-11 20:03:16 +0000 |
commit | 267a89b1f48ff391b37591ebcb95a34f6029d6a3 (patch) | |
tree | 1cdccc74d7a4f07b0936d8bf0364fc641c5d35af /tools/make-dissector-reg.py | |
parent | fc153bf23b601428ea15e0c3c3801a5c76904b90 (diff) |
Make boilerplate consistent with other generated files and recognizable
by licensecheck.
svn path=/trunk/; revision=48826
Diffstat (limited to 'tools/make-dissector-reg.py')
-rwxr-xr-x | tools/make-dissector-reg.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/tools/make-dissector-reg.py b/tools/make-dissector-reg.py index 30351f203a..8e1134d19e 100755 --- a/tools/make-dissector-reg.py +++ b/tools/make-dissector-reg.py @@ -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) |