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.
# 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
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) \
--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. ##