2016-12-02 Daiki Ueno <ueno@gnu.org>
- * gnulib-tool (func_import): Relax the regex for the end marker of
- original license text.
+ * gnulib-tool (func_import): Relax the regex used for "LGPLv3+ or
+ GPLv2" rewriting.
2016-12-02 Nikos Mavrogiannopoulos <nmav@gnutls.org>
;;
3orGPLv2)
sed_transform_main_lib_file=$sed_transform_main_lib_file'
- /under the terms of /,/any later version/d
- /you can redistribute it and\/or modify it/a\
- under the terms of either:\
+ /^ *This program is free software/i\
+ This program is free software: you can redistribute it and\/or\
+ modify it under the terms of either:\
\
* the GNU Lesser General Public License as published by the Free\
Software Foundation; either version 3 of the License, or (at your\
option) any later version.\
\
or both in parallel, as here.
+ /^ *This program is free software/,/^$/d
'
;;
2)