diff options
author | Jim Meyering <jim@meyering.net> | 2006-12-08 10:28:05 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-12-08 10:28:05 +0100 |
commit | 939c480a79f7776a3d6a73fbf3eef411d1e2256f (patch) | |
tree | 0b1582b63fe44d6b90bf035ab3e4ad78a7022ab0 | |
parent | 07af816554477e61622a2deb6ae3407bf61ae8ac (diff) | |
download | coreutils-939c480a79f7776a3d6a73fbf3eef411d1e2256f.tar.xz |
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Makefile.cfg | 4 | ||||
-rw-r--r-- | Makefile.maint | 10 |
3 files changed, 18 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2006-12-08 Jim Meyering <jim@meyering.net> + 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 0c43c21d4..bd42ca036 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 f4e961f9f..112ce18d4 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. ## |