# HG changeset patch # User Simon Josefsson # Date 1293994923 -3600 # Node ID 10ce6a82b5d7a57e5c25f5c02c4848cdb5ce3ee1 # Parent 5400154288e566ef880091483fb26ec4733106e6 build-aux/update-copyright: Support UPDATE_COPYRIGHT_HOLDER environment variable. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-01-02 Simon Josefsson + + * build-aux/update-copyright: Support UPDATE_COPYRIGHT_HOLDER + environment variable. + 2011-01-02 Bruno Haible unigbrk: Avoid gcc warnings. diff --git a/build-aux/update-copyright b/build-aux/update-copyright --- a/build-aux/update-copyright +++ b/build-aux/update-copyright @@ -3,7 +3,7 @@ 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. # @@ -122,7 +122,8 @@ 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+$/ @@ -252,7 +253,7 @@ } else { - print STDERR "$ARGV: warning: FSF copyright statement not found\n"; + print STDERR "$ARGV: warning: copyright statement not found\n"; } # Local variables: