From 0e40e9de57589095dba048a64dd842c116916dc3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 18 Feb 2009 16:09:45 +0100 Subject: [PATCH] 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. --- cfg.mk | 2 +- maint.mk | 2 +- 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: