changeset 12083:b7b81ca175f4

maint.mk: requiring "make major" was annoying, for a "minor" release. What is intended is "stable", to contrast with alpha and beta, so require "make stable", not "make major". * build-aux/announce-gen (%valid_release_types): s/major/stable/. (get_tool_versions): Likewise. * top/maint.mk (ALL_RECURSIVE_TARGETS): s/major/stable/
author Jim Meyering <meyering@redhat.com>
date Thu, 01 Oct 2009 10:09:30 +0200
parents d741ba7b3804
children 34277de50e87
files ChangeLog build-aux/announce-gen top/maint.mk
diffstat 3 files changed, 16 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Sep 30 21:35:14 2009 -0700
+++ b/ChangeLog	Thu Oct 01 10:09:30 2009 +0200
@@ -1,3 +1,12 @@
+2009-10-01  Jim Meyering  <meyering@redhat.com>
+
+	maint.mk: requiring "make major" was annoying, for a "minor" release.
+	What is intended is "stable", to contrast with alpha and beta,
+	so require "make stable", not "make major".
+	* build-aux/announce-gen (%valid_release_types): s/major/stable/.
+	(get_tool_versions): Likewise.
+	* top/maint.mk (ALL_RECURSIVE_TARGETS): s/major/stable/
+
 2009-09-30  Ben Pfaff  <blp@gnu.org>
 
 	Fix broken build of replacement for Windows tmpfile().
--- a/build-aux/announce-gen	Wed Sep 30 21:35:14 2009 -0700
+++ b/build-aux/announce-gen	Thu Oct 01 10:09:30 2009 +0200
@@ -33,7 +33,7 @@
 
 (my $ME = $0) =~ s|.*/||;
 
-my %valid_release_types = map {$_ => 1} qw (alpha beta major);
+my %valid_release_types = map {$_ => 1} qw (alpha beta stable);
 my @archive_suffixes = ('tar.gz', 'tar.bz2', 'tar.lzma', 'tar.xz');
 
 sub usage ($)
@@ -468,7 +468,7 @@
   print_news_deltas ($_, $prev_version, $curr_version)
     foreach @news_file;
 
-  $release_type eq 'major'
+  $release_type eq 'stable'
     or print_changelog_deltas ($package_name, $prev_version);
 
   exit 0;
--- a/top/maint.mk	Wed Sep 30 21:35:14 2009 -0700
+++ b/top/maint.mk	Thu Oct 01 10:09:30 2009 +0200
@@ -696,11 +696,11 @@
 	  : ;								\
 	fi
 
-.PHONY: alpha beta major
-ALL_RECURSIVE_TARGETS += alpha beta major
-alpha beta major: $(local-check) writable-files no-submodule-changes
-	test $@ = major						\
-	  && { echo $(VERSION) | grep -E '^[0-9]+(\.[0-9]+)+$$'	\
+.PHONY: alpha beta stable
+ALL_RECURSIVE_TARGETS += alpha beta stable
+alpha beta stable: $(local-check) writable-files no-submodule-changes
+	test $@ = stable						\
+	  && { echo $(VERSION) | grep -E '^[0-9]+(\.[0-9]+)+$$'		\
 	       || { echo "invalid version string: $(VERSION)" 1>&2; exit 1;};}\
 	  || :
 	$(MAKE) vc-diff-check