[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {maint-1.13.2} announcement: cater to more flexible NEWS format
From: |
Stefano Lattarini |
Subject: |
[FYI] {maint-1.13.2} announcement: cater to more flexible NEWS format |
Date: |
Thu, 9 May 2013 13:55:54 +0200 |
* maint.mk (announcement): Here, be prepared to handle the case
in which the first section of the NEWS file is dedicated to report
future backward-incompatibilities and/or other warnings.
Signed-off-by: Stefano Lattarini <address@hidden>
---
maint.mk | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/maint.mk b/maint.mk
index 77b072f..191de41 100644
--- a/maint.mk
+++ b/maint.mk
@@ -290,7 +290,11 @@ announcement: NEWS
&& X \
&& X "-*-*-*-" \
&& X \
- && sed -n -e '/^~~~/q' -e p $(srcdir)/NEWS >> address@hidden \
+ && $(AWK) '\
+ ($$0 == "New in $(VERSION):") { wait_for_end=1; } \
+ (/^~~~/ && wait_for_end) { exit(0) } \
+ { print }\
+ ' <$(srcdir)/NEWS >> address@hidden \
&& mv -f address@hidden $@
.PHONY: announcement
CLEANFILES += announcement
--
1.8.3.rc0.19.g7e6a0cc
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {maint-1.13.2} announcement: cater to more flexible NEWS format,
Stefano Lattarini <=