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.
This commit is contained in:
Jim Meyering 2009-02-18 16:09:45 +01:00
parent 0a3f944791
commit 0e40e9de57
2 changed files with 2 additions and 2 deletions

2
cfg.mk
View File

@ -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

View File

@ -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: