summaryrefslogtreecommitdiff
path: root/Makefile.maint
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-12-01 18:50:40 +0100
committerJim Meyering <meyering@redhat.com>2007-12-01 18:50:40 +0100
commit214d27e1464e405526d1c6355b5fdeb8ece138ac (patch)
treeb551565fd3689cd48058c39d92798fbf11a1b384 /Makefile.maint
parentab73462d4b281d4e2cec8fb5952a0329c3f2ce2f (diff)
downloadcoreutils-214d27e1464e405526d1c6355b5fdeb8ece138ac.tar.xz
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".
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint
index c8d4fec8d..e5b4e0b9a 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)