summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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($_);
}