]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Defer NEWS and ChangeLog checks until after the version-changing tag.
authorJim Meyering <meyering@redhat.com>
Sat, 1 Dec 2007 17:50:40 +0000 (18:50 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 1 Dec 2007 17:50:40 +0000 (18:50 +0100)
* 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
Makefile.maint

index 5a93375a8aa5ab4992aa6b64ce7414a21fe293c7..73c5596f776fb14be22dc5d188e37f7f12e6b01a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2007-12-01  Jim Meyering  <meyering@redhat.com>
 
+       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.
index c8d4fec8d55aef17aca7d4973b9581ef34b6e883..e5b4e0b9a372c9496f6a815d1976486ea84ec9ee 100644 (file)
@@ -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)