summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-02-18 16:09:45 +0100
committerJim Meyering <meyering@redhat.com>2009-02-18 16:09:45 +0100
commit0e40e9de57589095dba048a64dd842c116916dc3 (patch)
treeaf41ca6337b9509a2153e757bd9dfbaac062bbd4
parent0a3f944791cf93b6abbb544ee0b4df6f2b777351 (diff)
downloadcoreutils-0e40e9de57589095dba048a64dd842c116916dc3.tar.xz
maint: changing NEWS' copyright date must not invalidate checksum
* 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.
-rw-r--r--cfg.mk2
-rw-r--r--maint.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/cfg.mk b/cfg.mk
index 0e42042b3..8078ef666 100644
--- 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
diff --git a/maint.mk b/maint.mk
index 72b986c3f..f1c1e8ae2 100644
--- 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: