diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-04-07 15:49:26 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-04-07 15:50:33 -0700 |
commit | 938c4f50a8abfa1695d71e361c9bfd1d835663ef (patch) | |
tree | 5cae16b30ecf5f86bf252e3de1fad940e5a5a249 | |
parent | e617ae30015927d1c671afe4c557aa8ac38cf794 (diff) | |
download | gzip-938c4f50a8abfa1695d71e361c9bfd1d835663ef.tar.gz |
maint: update --version copyright dates
* cfg.mk (srcdirslash): New macro.
(in_vc_files): Use it to avoid problems when srcdir is '.'.
Also look for copyright dates in shell script *.in files,
so that ‘zgrep --version’ etc. outputs current dates.
* gunzip.in, gzexe.in, gzip.c, zcat.in, zcmp.in, zdiff.in:
* zforce.in, zgrep.in, zless.in, zmore.in, znew.in:
Update copyright date in --version output to 2022.
-rw-r--r-- | cfg.mk | 10 | ||||
-rw-r--r-- | gunzip.in | 2 | ||||
-rw-r--r-- | gzexe.in | 2 | ||||
-rw-r--r-- | gzip.c | 2 | ||||
-rw-r--r-- | zcat.in | 2 | ||||
-rw-r--r-- | zcmp.in | 2 | ||||
-rw-r--r-- | zdiff.in | 2 | ||||
-rw-r--r-- | zforce.in | 2 | ||||
-rw-r--r-- | zgrep.in | 2 | ||||
-rw-r--r-- | zless.in | 2 | ||||
-rw-r--r-- | zmore.in | 2 | ||||
-rw-r--r-- | znew.in | 2 |
12 files changed, 19 insertions, 13 deletions
@@ -65,10 +65,16 @@ sc_prohibit_emacs__indent_tabs_mode__setting: halt='use of emacs indent-tabs-mode: setting' \ $(_sc_search_regexp) +ifeq ($(srcdir),.) + srcdirslash = +else + srcdirslash = $(srcdir)/ +endif + sc_gzip_copyright_check: @require='Copyright \(C\) '$$(date +%Y)' Free' \ - in_vc_files=$(srcdir)/gzip.c \ - halt="out of date copyright in $$in_files; update it" \ + in_vc_files='^$(srcdirslash)(gzip\.c|[^z].*\.in|z[^ef].*\.in|zf[^g].*\.in)$$' \ + halt="out of date copyright in $$in_vc_files; update it" \ $(_sc_search_regexp) include $(srcdir)/dist-check.mk @@ -18,7 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. version="gunzip (gzip) @VERSION@ -Copyright (C) 2007, 2011-2018 Free Software Foundation, Inc. +Copyright (C) 2022 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. @@ -37,7 +37,7 @@ nl=' IFS=" $tab$nl" version='gzexe (gzip) @VERSION@ -Copyright (C) 2007, 2011-2018 Free Software Foundation, Inc. +Copyright (C) 2022 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. @@ -29,7 +29,7 @@ */ static char const *const license_msg[] = { -"Copyright (C) 2018 Free Software Foundation, Inc.", +"Copyright (C) 2022 Free Software Foundation, Inc.", "Copyright (C) 1993 Jean-loup Gailly.", "This is free software. You may redistribute copies of it under the terms of", "the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.", @@ -18,7 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. version="zcat (gzip) @VERSION@ -Copyright (C) 2007, 2011-2018 Free Software Foundation, Inc. +Copyright (C) 2022 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. @@ -18,7 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. version="zcmp (gzip) @VERSION@ -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2022 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. @@ -25,7 +25,7 @@ case $1 in esac version="z$prog (gzip) @VERSION@ -Copyright (C) 2009, 2011-2018 Free Software Foundation, Inc. +Copyright (C) 2022 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. @@ -24,7 +24,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. version="zforce (gzip) @VERSION@ -Copyright (C) 2010-2018 Free Software Foundation, Inc. +Copyright (C) 2022 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. @@ -26,7 +26,7 @@ grep='${GREP-'\''@GREP@'\''}' args= version='zgrep (gzip) @VERSION@ -Copyright (C) 2010-2018 Free Software Foundation, Inc. +Copyright (C) 2022 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. @@ -17,7 +17,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. version="zless (gzip) @VERSION@ -Copyright (C) 2007, 2011-2018 Free Software Foundation, Inc. +Copyright (C) 2022 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. @@ -18,7 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. version="zmore (gzip) @VERSION@ -Copyright (C) 2010-2018 Free Software Foundation, Inc. +Copyright (C) 2022 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. @@ -22,7 +22,7 @@ LC_ALL=C export LC_ALL version="znew (gzip) @VERSION@ -Copyright (C) 2010-2018 Free Software Foundation, Inc. +Copyright (C) 2022 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. |