From caef7b6c5b40625277ea9bbf197201820fc14adf Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 4 Jul 2007 05:57:30 +0000 Subject: [PATCH] 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 --- src/util/ktemplate.pm | 7 +++++++ 1 file changed, 7 insertions(+) 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($_); } -- 2.26.2