diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-09 14:14:00 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-09 14:14:00 +0200 |
commit | 25194b6274e0c336c40cd1903565cdc7afaabf7c (patch) | |
tree | 9ba27f9b3e7667891c98adfee6f018f5e623c102 /maintainer/maint.mk | |
parent | 1667d369091fe41d2bbdf645490a29d45142556f (diff) | |
parent | d2ed35594beef64f55eb1680ee87d9f7997fb35c (diff) | |
download | automake-25194b6274e0c336c40cd1903565cdc7afaabf7c.tar.gz |
Merge branch 'branch-1.13.2' into maint
* branch-1.13.2:
announcement: cater to more flexible NEWS format
Diffstat (limited to 'maintainer/maint.mk')
-rw-r--r-- | maintainer/maint.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/maintainer/maint.mk b/maintainer/maint.mk index 56c52beef..ac29a72da 100644 --- a/maintainer/maint.mk +++ b/maintainer/maint.mk @@ -290,7 +290,11 @@ announcement: NEWS && X \ && X "-*-*-*-" \ && X \ - && sed -n -e '/^~~~/q' -e p $(srcdir)/NEWS >> $@-t \ + && $(AWK) '\ + ($$0 == "New in $(VERSION):") { wait_for_end=1; } \ + (/^~~~/ && wait_for_end) { exit(0) } \ + { print } \ + ' <$(srcdir)/NEWS >> $@-t \ && mv -f $@-t $@ .PHONY: announcement CLEANFILES += announcement |