Mercurial > gnulib
changeset 29115:442e3d42b107
If --lgpl is not specified, convert copyright headers to GPLv3+.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 29 Oct 2007 12:55:44 +0100 |
parents | d57f7b5c5048 |
children | 1bf5476d9aae |
files | ChangeLog gnulib-tool |
diffstat | 2 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Oct 29 04:23:19 2007 +0100 +++ b/ChangeLog Mon Oct 29 12:55:44 2007 +0100 @@ -1,3 +1,10 @@ +2007-10-29 Bruno Haible <bruno@clisp.org> + + * gnulib-tool (func_import): When --lgpl is not specified, set + sed_transform_lib_file to convert LGPL and GPLv2+ copyright headers to + GPLv3. + Reported by Simon Josefsson. + 2007-10-28 Bruno Haible <bruno@clisp.org> * lib/math.in.h: Test REPLACE_ISFINITE instead of HAVE_DECL_ISFINITE.
--- a/gnulib-tool Mon Oct 29 04:23:19 2007 +0100 +++ b/gnulib-tool Mon Oct 29 12:55:44 2007 +0100 @@ -2279,6 +2279,13 @@ ;; *) func_fatal_error "invalid value lgpl=$lgpl" ;; esac + else + # Update license. + sed_transform_lib_file=$sed_transform_lib_file' + s/GNU Lesser General/GNU General/g + s/GNU Library General/GNU General/g + s/version \(2\|2\.1\)\([ ,]\)/version 3\2/g + ' fi fi