diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-30 15:00:52 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-30 15:00:52 +0200 |
commit | 765f951dac933a5e190c9e1ed5bd4e99f1936360 (patch) | |
tree | 5ec42183699b7624f861083416d95b7cd55fcead | |
parent | a24bfc3edd7d3999e260bb3a10bf2f5226e4234e (diff) | |
download | automake-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.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 $@ |