From 83c5d5d57bbaa15ad770ff0166e9fc6319402d76 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 1 Aug 2009 11:43:31 +0200 Subject: [PATCH] maint.mk: relax update-NEWS-hash to accept more syntax * top/maint.mk (update-NEWS-hash): Match variants of the "old_NEWS_hash = ...HASH..." line: allow TABs, more than one space, and ":=" in place of "=". --- top/maint.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/top/maint.mk b/top/maint.mk index 228b4143e..c3e2f4799 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -492,7 +492,7 @@ sc_immutable_NEWS: # Update the hash stored above. Do this after each release and # for any corrections to old entries. update-NEWS-hash: NEWS - perl -pi -e 's/^(old_NEWS_hash = ).*/$${1}'"$(NEWS_hash)/" \ + perl -pi -e 's/^(old_NEWS_hash[ \t]+:?=[ \t]+).*/$${1}'"$(NEWS_hash)/" \ $(srcdir)/cfg.mk # Ensure that we use only the standard $(VAR) notation, -- 2.11.0