* gnulib-tool (func_emit_copyright_notice): Extract copyright from
gnulib-tool, rather than hard-coding it.
Signed-off-by: Eric Blake <ebb9@byu.net>
2008-03-14 Eric Blake <ebb9@byu.net>
+ Bump copyright year in files generated by gnulib-tool.
+ * gnulib-tool (func_emit_copyright_notice): Extract copyright from
+ gnulib-tool, rather than hard-coding it.
+
Fix 'gnulib-tool --version' output to work with git.
* gnulib-tool (func_gnulib_dir): New function, extracted from...
(startup): ...here.
# outputs to stdout a header for a generated file.
func_emit_copyright_notice ()
{
- echo "# Copyright (C) 2004-2007 Free Software Foundation, Inc."
+ sed -n '/Copyright/ {
+ p
+ q
+ }' < "$self_abspathname"
echo "#"
echo "# This file is free software, distributed under the terms of the GNU"
echo "# General Public License. As a special exception to the GNU General"