[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] maint: changing NEWS' copyright date must not invalidate checksu
From: |
Jim Meyering |
Subject: |
[PATCH] maint: changing NEWS' copyright date must not invalidate checksum |
Date: |
Wed, 18 Feb 2009 16:12:26 +0100 |
Imagine my surprise when the immutable-news part of
"make syntax-check" failed.
Did I miss something? I *know* I've run "make syntax-check"
numerous times recently.
The problem was simply the updated Copyright date change I'd
just merged in.
I've fixed it so that Copyright line is now exempt.
>From 0e40e9de57589095dba048a64dd842c116916dc3 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
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 0e42042..8078ef6 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 72b986c..f1c1e8a 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:
--
1.6.2.rc1.209.gfe624
- [PATCH] maint: changing NEWS' copyright date must not invalidate checksum,
Jim Meyering <=