]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: changing NEWS' copyright date must not invalidate checksum
authorJim Meyering <meyering@redhat.com>
Wed, 18 Feb 2009 15:09:45 +0000 (16:09 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 18 Feb 2009 15:09:45 +0000 (16:09 +0100)
* maint.mk (NEWS_hash): Don't let the Copyright date line contribute
to the checksum.
* cfg.mk (old_NEWS_hash): Update to reflect the new policy.

cfg.mk
maint.mk

diff --git a/cfg.mk b/cfg.mk
index 0e42042b3665750c36841c68ffee973dcca8b4e5..8078ef666dc933de046e5410c27f8fd944a98162 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -42,7 +42,7 @@ gnulib_dir = /gnulib
 # Now that we have better (check.mk) tests, make this the default.
 export VERBOSE = yes
 
-old_NEWS_hash = e56dee27333ad86eaf0aa7ac7d04fca5  -
+old_NEWS_hash = 791cf10529d00853f6363ca67f360747  -
 
 # Ensure that the list of O_ symbols used to compute O_FULLBLOCK is complete.
 dd = $(srcdir)/src/dd.c
index 72b986c3fc4e2300f7b16246b40a5170aed19239..f1c1e8ae23ab39c76fd2f7e305101870a902dbcb 100644 (file)
--- a/maint.mk
+++ b/maint.mk
@@ -426,7 +426,7 @@ sc_const_long_option:
 
 NEWS_hash = \
   $$(sed -n '/^\*.* $(PREV_VERSION_REGEXP) ([0-9-]*)/,$$p' \
-     $(srcdir)/NEWS | md5sum -)
+     $(srcdir)/NEWS | grep -v '^Copyright .*Free Software' | md5sum -)
 
 # Ensure that we don't accidentally insert an entry into an old NEWS block.
 sc_immutable_NEWS: