+2011-01-02 Simon Josefsson <simon@josefsson.org>
+
+ * build-aux/update-copyright: Support UPDATE_COPYRIGHT_HOLDER
+ environment variable.
+
2011-01-02 Bruno Haible <bruno@clisp.org>
unigbrk: Avoid gcc warnings.
if 0;
# Update an FSF copyright year list to include the current year.
-my $VERSION = '2009-12-28.11:09'; # UTC
+my $VERSION = '2011-01-02.19:00'; # UTC
# Copyright (C) 2009-2011 Free Software Foundation, Inc.
#
my $copyright_re = 'Copyright';
my $circle_c_re = '(?:\([cC]\)|@copyright{}|©)';
-my $holder = 'Free Software Foundation, Inc.';
+my $holder = $ENV{UPDATE_COPYRIGHT_HOLDER};
+$holder ||= 'Free Software Foundation, Inc.';
my $prefix_max = 5;
my $margin = $ENV{UPDATE_COPYRIGHT_MAX_LINE_LENGTH};
!$margin || $margin !~ m/^\d+$/
}
else
{
- print STDERR "$ARGV: warning: FSF copyright statement not found\n";
+ print STDERR "$ARGV: warning: copyright statement not found\n";
}
# Local variables: