summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2007-07-04 05:57:30 +0000
committerKen Raeburn <raeburn@mit.edu>2007-07-04 05:57:30 +0000
commitcaef7b6c5b40625277ea9bbf197201820fc14adf (patch)
tree70fa7e0c34532c42b6dbc1a6beb17bf3f099e317 /src/util
parent6c2b03a1fe50424f6409c3790609455a18fc79b0 (diff)
downloadkrb5-caef7b6c5b40625277ea9bbf197201820fc14adf.tar.gz
krb5-caef7b6c5b40625277ea9bbf197201820fc14adf.tar.xz
krb5-caef7b6c5b40625277ea9bbf197201820fc14adf.zip
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
Diffstat (limited to 'src/util')
-rw-r--r--src/util/ktemplate.pm7
1 files changed, 7 insertions, 0 deletions
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 (<DATA>) {
print OUTFILE &do_substitution($_);
}