diff options
author | Jim Meyering <meyering@fb.com> | 2013-06-09 18:35:47 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2015-02-08 10:58:41 -0800 |
commit | ddf1e1b2d6b970544377e3891b9b5755eed63d3b (patch) | |
tree | 59dc184b305e866400e7b7a3c942f6611cc21dfa /cfg.mk | |
parent | 69656cb7ac3187a3cc7b9f602aea4d08beb5c56a (diff) | |
download | gzip-ddf1e1b2d6b970544377e3891b9b5755eed63d3b.tar.gz |
maint: ensure that --version's copyright date is current
* cfg.mk (sc_gzip_copyright_check): Ensure we keep this copyright
year number up to date. Reported by Paul Eggert.
* gzip.c (license_msg): Include only the current year number,
as is done in nearly every other program.
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -56,6 +56,12 @@ sc_prohibit_emacs__indent_tabs_mode__setting: halt='use of emacs indent-tabs-mode: setting' \ $(_sc_search_regexp) +sc_gzip_copyright_check: + @require='Copyright \(C\) '$$(date +%Y)' Free' \ + in_files=$(srcdir)/gzip.c \ + halt='out of date copyright in $(v_etc_file); update it' \ + $(_sc_search_regexp) + include $(srcdir)/dist-check.mk exclude_file_name_regexp--sc_file_system = ^NEWS$$ |