[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Findutils-patches] [PATCH 2/2] maint: make copyright statements more co
From: |
Bernhard Voelker |
Subject: |
[Findutils-patches] [PATCH 2/2] maint: make copyright statements more consistent |
Date: |
Tue, 5 Jan 2016 02:23:12 +0100 |
Instead of growing lists of copyright year numbers with gaps,
convert the sequence to a minimal containing range, e.g.:
-Copyright @copyright{} 1994, 1996, 1998, 2000-2001, 2003-2016 Free
-Software Foundation, Inc.
+Copyright @copyright{} 1994-2016 Free Software Foundation, Inc.
This change will take effect the next time 'make update-copyright' is run.
* cfg.mk (update-copyright-env): Add UPDATE_COPYRIGHT_FORCE=1
to rejoin some split lines, and UPDATE_COPYRIGHT_USE_INTERVALS=2
to make update-copyright use only one year range.
---
cfg.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/cfg.mk b/cfg.mk
index ed873ad..37a07d0 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -56,6 +56,11 @@ exclude_file_name_regexp--sc_texinfo_acronym = doc/perm\.texi
# cases where neither argument is a string literal.
local-checks-to-skip += sc_prohibit_strcmp
+# Use a minimal containing copyright year number range instead of a sequence
+# with gaps.
+update-copyright-env = \
+ UPDATE_COPYRIGHT_FORCE=1 \
+ UPDATE_COPYRIGHT_USE_INTERVALS=2
# NEWS hash. We use this to detect unintended edits to bits of the NEWS file
# other than the most recent section. If you do need to retrospectively
update
--
2.1.4