summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2016-01-06 12:45:29 +0100
committerBernhard Voelker <mail@bernhard-voelker.de>2016-01-06 12:51:04 +0100
commit9116f3e226a480a82c415618429f064ed3a5f290 (patch)
tree475043ad4cb1d6cc1fcdc5fd39d22a60a4df1a5e
parent5a13944adb8d4f50fbcf652240f506c7c2570d62 (diff)
downloadfindutils-rel-4-6-fixes.tar.gz
maint: make copyright statements more consistentrel-4-6-fixes
Avoid growing lists of copyright year numbers by collapsing consecutive years like "1996, 1997-2015, 2016" into a single range like "1996-2016". This change may take effect the next time 'make update-copyright' is run. * cfg.mk (update-copyright-env): Add with UPDATE_COPYRIGHT_USE_INTERVALS=1 as described above. Also add UPDATE_COPYRIGHT_FORCE=1 to rejoin some split lines if necessary.
-rw-r--r--cfg.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index ed873ad3..2e3faa83 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -56,6 +56,10 @@ 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
+# During 'make update-copyright', collapse consecutive years into intervals.
+update-copyright-env = \
+ UPDATE_COPYRIGHT_FORCE=1 \
+ UPDATE_COPYRIGHT_USE_INTERVALS=1
# 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