From b93fb425c5b6060963cafc03b8e49d9725764a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Thu, 7 Feb 2002 12:30:25 +0000 Subject: [PATCH] Reuse the copyright from the last source file for the summary page. Sponsored by: DARPA, NAI Labs git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@40 185d5e19-27fe-0310-9dcf-9bff6b9f3609 --- misc/gendoc.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/misc/gendoc.pl b/misc/gendoc.pl index 6e4af6d..c059044 100644 --- a/misc/gendoc.pl +++ b/misc/gendoc.pl @@ -38,7 +38,7 @@ use strict; use Fcntl; use POSIX qw(strftime); -use vars qw($TODAY %FUNCTIONS); +use vars qw($COPYRIGHT $TODAY %FUNCTIONS); sub gendoc($) { my $fn = shift; @@ -66,6 +66,7 @@ sub gendoc($) { $mdoc = $1; $mdoc =~ s,^.\*,.\\\",gm; $mdoc .= "\n.\\\"\n"; + $COPYRIGHT = $mdoc; } else { $mdoc = ".\\\" \$" . "Id" . "\$\n"; } @@ -135,6 +136,7 @@ as part of the DARPA CHATS research program. sub gensummary() { + print "$COPYRIGHT"; print ".Dd $TODAY .Dt PAM 3 .Os