Mercurial > hg > octave-nkf > gnulib-hg
changeset 12385:ad3ca6ce84b0
maint.mk: backslash-escape parens in default regexp
* top/maint.mk (news-check-regexp): Now that we're using grep -E,
backslash-escape the literal parentheses.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Sat, 05 Dec 2009 10:02:01 +0100 |
parents | 8620ff59758a |
children | 8fd02a53bfe5 |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-12-05 Jim Meyering <meyering@redhat.com> + maint.mk: backslash-escape parens in default regexp + * top/maint.mk (news-check-regexp): Now that we're using grep -E, + backslash-escape the literal parentheses. + maint.mk: news-date-check: use grep -E * top/maint.mk (today): Define a Make variable, not a... (news-date-check): ...shell variable.
--- a/top/maint.mk +++ b/top/maint.mk @@ -80,7 +80,7 @@ # Override this in cfg.mk if you are using a different format in your # NEWS file. today = $(shell date +%Y-%m-%d) -news-check-regexp ?= '^\*.* $(VERSION_REGEXP) ($(today))' +news-check-regexp ?= '^\*.* $(VERSION_REGEXP) \($(today)\)' # Prevent programs like 'sort' from considering distinct strings to be equal. # Doing it here saves us from having to set LC_ALL elsewhere in this file.