From: Stefano Lattarini Date: Thu, 30 May 2013 13:00:52 +0000 (+0200) Subject: announcement: be less strict in the paring of NEWS X-Git-Tag: v1.13.3~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=765f951dac933a5e190c9e1ed5bd4e99f1936360;p=platform%2Fupstream%2Fautomake.git 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 --- diff --git a/maint.mk b/maint.mk index 3071360..cfbfb10 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 $@