fix copyright years and notice

2009-05-11  Paolo Bonzini  <bonzini@gnu.org>

	* configure.ac: Define COPYRIGHT_YEAR.
	* Makefile.am (dist-hook): Test it.
	* sed/mbcs.c: Fix copyright years.
	* sed/sed.c: Fix copyright years.  Change COPYRIGHT_NOTICE to
	COPYRIGHT_YEAR.
	* sed/utils.c: Fix copyright years.
	* testsuite/version.gin: Use COPYRIGHT_YEAR.
This commit is contained in:
Paolo Bonzini committed 2009-05-11 10:47:05 +02:00
1 parent 5a30fa2129
commit ff839b08be
7 files changed
+23 -8

No files matched your search

+10
View File
@@ -1,3 +1,13 @@
2009-05-11 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Define COPYRIGHT_YEAR.
* Makefile.am (dist-hook): Test it.
* sed/mbcs.c: Fix copyright years.
* sed/sed.c: Fix copyright years. Change COPYRIGHT_NOTICE to
COPYRIGHT_YEAR.
* sed/utils.c: Fix copyright years.
* testsuite/version.gin: Use COPYRIGHT_YEAR.
2009-04-30 Paolo Bonzini <bonzini@gnu.org>
* sed/compile.c: Declare bool arguments as int instead to please AIX XLC.
+2
View File
@@ -21,6 +21,8 @@ DISTCHECK_CONFIGURE_FLAGS = XGETTEXT='$(SHELL) -c : dummy' $(EXTRA_DC_FLAGS)
EXTRA_DC_FLAGS =
dist-hook:
test $(COPYRIGHT_YEAR) = `date +%Y` || \
{ echo Copyright year not updated; exit 1; }
cmp bootstrap.sh $(srcdir)/bootstrap.sh > /dev/null 2>&1 || \
cp -p bootstrap.sh $(srcdir)/bootstrap.sh
cp -p $(srcdir)/bootstrap.sh $(distdir)/bootstrap.sh
+5
View File
@@ -11,6 +11,11 @@ AC_DEFINE_UNQUOTED(SED_FEATURE_VERSION, "$SED_FEATURE_VERSION",
[Define to the version of GNU sed whose features are supported by this sed.])
AC_SUBST(SED_FEATURE_VERSION)
COPYRIGHT_YEAR=2009
AC_DEFINE_UNQUOTED(COPYRIGHT_YEAR, $COPYRIGHT_YEAR,
[Define to the copyright year printed by --version.])
AC_SUBST(COPYRIGHT_YEAR)
AC_PROG_CC
gl_EARLY
gl_INIT
+1 -1
View File
@@ -1,5 +1,5 @@
/* GNU SED, a batch stream editor.
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
Copyright (C) 2003, 2006, 2009 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
+3 -5
View File
@@ -1,7 +1,5 @@
#define COPYRIGHT_NOTICE "Copyright (C) 2003 Free Software Foundation, Inc."
/* GNU SED, a batch stream editor.
Copyright (C) 1989,90,91,92,93,94,95,98,99,2002,2003
Copyright (C) 1989,90,91,92,93,94,95,98,99,2002,2003,2006,2008,2009
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -319,11 +317,11 @@ main(argc, argv)
#else
fprintf(stdout, _("GNU sed version %s\n"), VERSION);
#endif
fprintf(stdout, _("%s\n\
fprintf(stdout, _("Copyright (C) %d Free Software Foundation, Inc.\n\
This is free software; see the source for copying conditions. There is NO\n\
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,\n\
to the extent permitted by law.\n\
"), COPYRIGHT_NOTICE);
"), COPYRIGHT_YEAR);
fputc('\n', stdout);
contact(false);
+1 -1
View File
@@ -1,5 +1,5 @@
/* Functions from hack's utils library.
Copyright (C) 1989, 1990, 1991, 1998, 1999, 2003, 2008
Copyright (C) 1989, 1990, 1991, 1998, 1999, 2003, 2008, 2009
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
+1 -1
View File
@@ -1,5 +1,5 @@
GNU sed version @VERSION@
Copyright (C) 2003 Free Software Foundation, Inc.
Copyright (C) @COPYRIGHT_YEAR@ Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.