From 214d27e1464e405526d1c6355b5fdeb8ece138ac Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 1 Dec 2007 18:50:40 +0100 Subject: [PATCH] Defer NEWS and ChangeLog checks until after the version-changing tag. * Makefile.maint (alpha beta major): Don't depend on the news-date-check changelog-check targets. They must fail before applying the version-changing tag. Instead, run them after "vc-dist". --- ChangeLog | 5 +++++ Makefile.maint | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5a93375a8a..73c5596f77 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2007-12-01 Jim Meyering + Defer NEWS and ChangeLog checks until after the version-changing tag. + * Makefile.maint (alpha beta major): Don't depend on the + news-date-check changelog-check targets. They must fail before + applying the version-changing tag. Instead, run them after "vc-dist". + * NEWS: Record release date and new version number. Mention some of the SELinux changes. * src/stat.c (main): Adjust a comment. diff --git a/Makefile.maint b/Makefile.maint index c8d4fec8d5..e5b4e0b9a3 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -679,12 +679,13 @@ $(xd-delta): $(release_archive_dir)/$(prev-tgz) $(distdir).tar.gz xdelta delta -9 $^ $@ || : .PHONY: alpha beta major -alpha beta major: news-date-check changelog-check $(local-check) writable-files +alpha beta major: $(local-check) writable-files test $@ = major \ && { echo $(VERSION) | grep -E '^[0-9]+(\.[0-9]+)+$$' \ || { echo "invalid version string: $(VERSION)" 1>&2; exit 1;};}\ || : $(MAKE) vc-dist + $(MAKE) news-date-check changelog-check $(MAKE) $(xd-delta) $(MAKE) -s announcement RELEASE_TYPE=$@ > /tmp/announce-$(my_distdir) ln $(rel-files) $(release_archive_dir) -- 2.47.2