Mercurial > hg > octave-lyh > gnulib-hg
changeset 11750:246d2e2f523d
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 "=".
author | Peter Simons <simons@cryp.to> |
---|---|
date | Sat, 01 Aug 2009 11:43:31 +0200 |
parents | b8280e05c904 |
children | 8153fe87d193 |
files | top/maint.mk |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/top/maint.mk +++ b/top/maint.mk @@ -492,7 +492,7 @@ # 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,