From: Jim Meyering Date: Sat, 10 Jun 2006 07:58:05 +0000 (+0000) Subject: Require a "Version N.M" line at the top of the ChangeLog X-Git-Tag: v6.0~318 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea7ded281d229406bedc20b2d9c96b3cdbaed524;p=thirdparty%2Fcoreutils.git Require a "Version N.M" line at the top of the ChangeLog file only when making the actual release, not when running "make distcheck". (maintainer-distcheck): Don't depend on changelog-check. (alpha beta major): Depend on it here, instead. --- diff --git a/Makefile.maint b/Makefile.maint index f1fece4eb9..6d28393099 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -432,7 +432,7 @@ cvs-diff-check: cvs-check: cvs-diff-check cvs-tag-check -maintainer-distcheck: changelog-check +maintainer-distcheck: $(MAKE) distcheck $(MAKE) my-distcheck @@ -622,7 +622,7 @@ $(xd-delta): $(release_archive_dir)/$(prev-tgz) $(distdir).tar.gz xdelta delta -9 $^ $@ || : .PHONY: alpha beta major -alpha beta major: news-date-check $(local-check) +alpha beta major: news-date-check changelog-check $(local-check) test $@ = major \ && { echo $(VERSION) | grep -E '^[0-9]+(\.[0-9]+)+$$' \ || { echo "invalid version string: $(VERSION)" 1>&2; exit 1; }}\