From: Alexandre Duret-Lutz Date: Thu, 13 Jun 2002 08:48:11 +0000 (+0000) Subject: * automake.in (check_gnu_standards): In --gnu mode, accept X-Git-Tag: Release-1-6b~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8ba63c24377ab2a836ca56b7e3e54ae2db31172;p=thirdparty%2Fautomake.git * automake.in (check_gnu_standards): In --gnu mode, accept one of COPTING, COPYING.LESSER, or COPYING.LIB. (common_files): Add COPYING.LESSER. * automake.texi (Gnits): Document this. --- diff --git a/ChangeLog b/ChangeLog index d29c613ff..2455b59a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2002-05-03 Paolo Bonzini + + * automake.in (check_gnu_standards): In --gnu mode, accept + one of COPTING, COPYING.LESSER, or COPYING.LIB. + (common_files): Add COPYING.LESSER. + * automake.texi (Gnits): Document this. + 2002-05-03 Paolo Bonzini * automake.in (required_targets): Add the pdf and pdf-am targets. diff --git a/automake.in b/automake.in index 21faec3f0..926b3e888 100755 --- a/automake.in +++ b/automake.in @@ -188,7 +188,7 @@ my @libtool_sometimes = qw(ltconfig ltcf-c.sh ltcf-cxx.sh ltcf-gcj.sh); # DISTFILES. my @common_files = (qw(ABOUT-GNU ABOUT-NLS AUTHORS BACKLOG COPYING COPYING.DOC COPYING.LIB - ChangeLog INSTALL NEWS README THANKS TODO acinclude.m4 + COPYING.LESSER ChangeLog INSTALL NEWS README THANKS TODO acinclude.m4 ansi2knr.1 ansi2knr.c compile config.guess config.rpath config.sub configure configure.ac configure.in depcomp elisp-comp install-sh libversion.in mdate-sh missing mkinstalldirs @@ -4834,8 +4834,15 @@ sub check_gnu_standards if ($relative_dir eq '.') { # In top level (or only) directory. - require_file ("$am_file.am", GNU, - qw(INSTALL NEWS README COPYING AUTHORS ChangeLog)); + + # Accept one of these three licenses; default to COPYING. + my $license = 'COPYING'; + foreach (qw /COPYING.LIB COPYING.LESSER/) + { + $license = $_ if -f $_; + } + require_file ("$am_file.am", GNU, $license, + qw/INSTALL NEWS README AUTHORS ChangeLog/); } if ($strictness >= GNU diff --git a/automake.texi b/automake.texi index feecc2931..887bdd4ba 100644 --- a/automake.texi +++ b/automake.texi @@ -4487,9 +4487,9 @@ variable) causes @code{automake} to check the following: @itemize @bullet @item -The files @file{INSTALL}, @file{NEWS}, @file{README}, @file{COPYING}, -@file{AUTHORS}, and @file{ChangeLog} are required at the topmost -directory of the package. +The files @file{INSTALL}, @file{NEWS}, @file{README}, @file{AUTHORS}, +and @file{ChangeLog}, plus one of @file{COPYING.LIB}, @file{COPYING.LESSER} +or @file{COPYING}, are required at the topmost directory of the package. @item The options @samp{no-installman} and @samp{no-installinfo} are diff --git a/stamp-vti b/stamp-vti index 937b3793a..9815744bc 100644 --- a/stamp-vti +++ b/stamp-vti @@ -1,4 +1,4 @@ -@set UPDATED 11 June 2002 +@set UPDATED 13 June 2002 @set UPDATED-MONTH June 2002 @set EDITION 1.6a @set VERSION 1.6a diff --git a/version.texi b/version.texi index 937b3793a..9815744bc 100644 --- a/version.texi +++ b/version.texi @@ -1,4 +1,4 @@ -@set UPDATED 11 June 2002 +@set UPDATED 13 June 2002 @set UPDATED-MONTH June 2002 @set EDITION 1.6a @set VERSION 1.6a