summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2013-05-30 15:00:52 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2013-05-30 15:00:52 +0200
commit765f951dac933a5e190c9e1ed5bd4e99f1936360 (patch)
tree5ec42183699b7624f861083416d95b7cd55fcead
parenta24bfc3edd7d3999e260bb3a10bf2f5226e4234e (diff)
downloadautomake-765f951dac933a5e190c9e1ed5bd4e99f1936360.tar.gz
announcement: be less strict in the paring of NEWS
So that the file generated by "make announcement" is correct also for beta releases. * maint.mk (announcement): Relax the awk program processing NEWS a little. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
-rw-r--r--maint.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/maint.mk b/maint.mk
index 30713606b..cfbfb10f4 100644
--- a/maint.mk
+++ b/maint.mk
@@ -294,8 +294,8 @@ announcement: NEWS
&& X "-*-*-*-" \
&& X \
&& $(AWK) '\
- ($$0 == "New in $(VERSION):") { wait_for_end=1; } \
- (/^~~~/ && wait_for_end) { exit(0) } \
+ ($$0 ~ /^New in .*:/) { wait_for_end=1; } \
+ (/^~~~/ && wait_for_end) { print; exit(0) } \
{ print } \
' <$(srcdir)/NEWS >> $@-t \
&& mv -f $@-t $@