From: Ken Raeburn Date: Wed, 4 Jul 2007 05:57:30 +0000 (+0000) Subject: Add a note at the start of the output reminding the reader that it's a generated... X-Git-Tag: krb5-1.7-alpha1~1021 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=caef7b6c5b40625277ea9bbf197201820fc14adf;p=krb5.git Add a note at the start of the output reminding the reader that it's a generated file git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19674 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/ktemplate.pm b/src/util/ktemplate.pm index f5f9ab7db..a2f51680a 100644 --- a/src/util/ktemplate.pm +++ b/src/util/ktemplate.pm @@ -57,6 +57,13 @@ sub run { print STDERR "$0: No output file specified.\n"; &usage; } + print OUTFILE "/*\n"; + print OUTFILE " * This file is generated, please don't edit it.\n"; + print OUTFILE " * script: $0\n"; + print OUTFILE " * args:\n *\t", join("\n *\t", @ARGV), "\n"; + print OUTFILE " * The rest of this file is copied from a template, with\n"; + print OUTFILE " * substitutions. See the template for copyright info.\n"; + print OUTFILE " */\n"; while () { print OUTFILE &do_substitution($_); }