diff options
author | Jim Meyering <jim@meyering.net> | 2002-12-13 20:23:39 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-12-13 20:23:39 +0000 |
commit | 93758bb4d98f35cceed12b62a41fd5df4515a231 (patch) | |
tree | d9812d90d96d8fd95668077493801638d558dd6c | |
parent | 3643096a84fbfe964166840438e96705a000a50e (diff) | |
download | coreutils-93758bb4d98f35cceed12b62a41fd5df4515a231.tar.xz |
(announcement): Invoke announce-gen.
-rw-r--r-- | Makefile.maint | 59 |
1 files changed, 17 insertions, 42 deletions
diff --git a/Makefile.maint b/Makefile.maint index 7c3a82135..8d9ddad45 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -243,48 +243,23 @@ mail_gpg_sign_cookie ?= echo '<\#secure method=pgpmime mode=sign>' rel-files = $(xd-delta) $(distdir).tar.bz2 $(distdir).tar.gz announcement: NEWS ChangeLog $(rel-files) $(signatures) - @( \ - echo Subject: $(my_distdir) released; \ - echo; \ - $(mail_gpg_sign_cookie); \ - echo FIXME: put comments here; \ - echo; \ - for url in $(url_dir_list); do \ - echo " $$url/$(my_distdir).tar.gz ($(tgz-size))"; \ - echo " $$url/$(my_distdir).tar.bz2 ($(bz2-size))"; \ - done; \ - echo; \ - echo And here are xdelta-style diffs; \ - echo; \ - for url in $(url_dir_list); do \ - echo " $$url/$(xd-delta) ($(xd-size))"; \ - done; \ - echo; \ - echo "Here are GPG detached signatures:"; \ - echo; \ - for url in $(url_dir_list); do \ - echo " $$url/$(my_distdir).tar.gz.sig"; \ - echo " $$url/$(my_distdir).tar.bz2.sig"; \ - done; \ - echo; \ - echo "Here are the MD5 and SHA1 signatures:"; \ - echo; \ - echo "$(tgz-md5) $(my_distdir).tar.gz"; \ - echo "$(bz2-md5) $(my_distdir).tar.bz2"; \ - echo "$(xdelta-md5) $(xd-delta)"; \ - echo "$(tgz-sha1) $(my_distdir).tar.gz"; \ - echo "$(bz2-sha1) $(my_distdir).tar.bz2"; \ - echo "$(xdelta-sha1) $(xd-delta)"; \ - echo; \ - echo NEWS:; \ - sed -n "$(news-r1),$(news-r2)p" NEWS \ - | grep -v '^\['; \ - echo; \ - echo ChangeLog entries:; \ - find . -name ChangeLog -maxdepth 2 \ - | xargs $(CVS) diff -up -r$(prev-cvs-tag) -rHEAD \ - | sed -n 's/^+//p' \ - | perl -ne 'm!^\+\+ (\./)?! or print,next;' \ + @( \ + ./announce-gen \ + --package=$(PACKAGE) \ + --prev=$(PREV_VERSION) \ + --curr=$(VERSION) \ + --rel=$(release_archive_dir) \ + $(addprefix --url-dir=, $(url_dir_list)); \ + echo; \ + echo NEWS:; \ + sed -n "$(news-r1),$(news-r2)p" NEWS \ + | grep -v '^\['; \ + echo; \ + echo ChangeLog entries:; \ + find . -name ChangeLog -maxdepth 2 \ + | xargs $(CVS) diff -up -r$(prev-cvs-tag) -rHEAD \ + | sed -n 's/^+//p' \ + | perl -ne 'm!^\+\+ (\./)?! or print,next;' \ -e 'print "\n"."*"x70 ."\n"; s///; print; print "*"x70 ."\n"'; \ ) |