From: Paul Eggert Date: Sat, 1 Feb 2025 00:24:26 +0000 (-0800) Subject: announce-gen: add comments X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=553ab924d2b68d930fae5d3c6396502a57852d23;p=gnulib.git announce-gen: add comments * top/maint.mk: Add comments re recent change. --- diff --git a/ChangeLog b/ChangeLog index 89674821a0..cc0fe24943 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2025-01-31 Paul Eggert + + announce-gen: add comments + * top/maint.mk: Add comments re recent change. + 2025-02-01 Simon Josefsson announce-gen: Allow 'make release' to work any day. diff --git a/top/maint.mk b/top/maint.mk index fb2fba93c9..8c9fff55ab 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -146,6 +146,7 @@ url_dir_list ?= $(if $(call _equal,$(gnu_rel_host),ftp.gnu.org), \ https://ftpmirror.gnu.org/$(PACKAGE), \ https://$(gnu_rel_host)/gnu/$(PACKAGE)) +# An ERE matching the release date (typically today, but not necessarily). # Override this in cfg.mk if you are using a different format in your # NEWS file. today = [0-9]{4,}-[0-9][0-9]-[0-9][0-9] @@ -155,6 +156,8 @@ today = [0-9]{4,}-[0-9][0-9]-[0-9][0-9] # lines 1..10 of NEWS for $(news-check-regexp). # If you want to search only line 3 or only lines 20-22, use "3" or "20,22". news-check-lines-spec ?= 1,10 + +# An ERE quoted for the shell, for matching a version+date line prefix. news-check-regexp ?= '^\*.* $(VERSION_REGEXP) \($(today)\)' # Prevent programs like 'sort' from considering distinct strings to be equal.