From: Jim Meyering Date: Fri, 8 Dec 2006 09:28:05 +0000 (+0100) Subject: Include bootstrap tool version info in the announcement form. X-Git-Tag: COREUTILS-6_8~141 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=939c480a79f7776a3d6a73fbf3eef411d1e2256f;p=thirdparty%2Fcoreutils.git Include bootstrap tool version info in the announcement form. * Makefile.maint (gnulib_snapshot_date): Define. (announcement): Use two new announce-gen options, --bootstrap-tools and --gnulib-snapshot-date. * Makefile.cfg (gnulib_dir): Set. --- diff --git a/ChangeLog b/ChangeLog index 79b885178b..66bf2b0ace 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2006-12-08 Jim Meyering + Include bootstrap tool version info in the announcement form. + * Makefile.maint (gnulib_snapshot_date): Define. + (announcement): Use two new announce-gen options, + --bootstrap-tools and --gnulib-snapshot-date. + * Makefile.cfg (gnulib_dir): Set. + Post-release version change. * NEWS: Add a line for 6.8-dirty. * configure.ac (AC_INIT): Set new version string. diff --git a/Makefile.cfg b/Makefile.cfg index 0c43c21d4d..bd42ca036f 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -34,3 +34,7 @@ gpg_key_ID = D333CBA1 # files -- otherwise, you'd need to have the upcoming version number # at the top of the file for each `make distcheck' run. local-checks-to-skip = changelog-check + +# The local directory containing the checked-out copy of gnulib used in +# this release. Used solely to get a date for the "announcement" target. +gnulib_dir = /gnulib diff --git a/Makefile.maint b/Makefile.maint index f4e961f9fc..112ce18d42 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -555,6 +555,11 @@ prev-tgz = $(PACKAGE)-$(PREV_VERSION).tar.gz xd-delta = $(PACKAGE)-$(PREV_VERSION)-$(VERSION).xdelta rel-files = $(xd-delta) $(DIST_ARCHIVES) + +# Approximate date of last "update" by the date on the ChangeLog file. +gnulib_snapshot_date = \ + $$(date -u --date $$(stat --printf @%Y $(gnulib_dir)/ChangeLog) \ + '+%Y-%m-%d %T %z') announcement: NEWS ChangeLog $(rel-files) @./build-aux/announce-gen \ --release-type=$(RELEASE_TYPE) \ @@ -563,8 +568,9 @@ announcement: NEWS ChangeLog $(rel-files) --curr=$(VERSION) \ --gpg-key-id=$(gpg_key_ID) \ --news=NEWS \ - $(addprefix --url-dir=, $(url_dir_list)) \ - + --bootstrap-tools=autoconf,automake,bison,gnulib \ + --gnulib-snapshot-date=$(gnulib_snapshot_date) \ + $(addprefix --url-dir=, $(url_dir_list)) ## ---------------- ## ## Updating files. ##