[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {micro} announcement: be less strict in the paring of NEWS
From: |
Stefano Lattarini |
Subject: |
[FYI] {micro} announcement: be less strict in the paring of NEWS |
Date: |
Thu, 30 May 2013 15:01:30 +0200 |
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 <address@hidden>
---
maint.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 >> address@hidden \
&& mv -f address@hidden $@
--
1.8.3.rc3.8.g5e49f30
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {micro} announcement: be less strict in the paring of NEWS,
Stefano Lattarini <=