GNUmakefile: handle "stable" target, not "major"
authorIan Beckwith <ianb@erislabs.net>
Sat, 23 Oct 2010 22:04:46 +0000 (23:04 +0100)
committerIan Beckwith <ianb@erislabs.net>
Sat, 23 Oct 2010 22:04:46 +0000 (23:04 +0100)
* top/GNUmakefile (_is-dist-target): s/major/stable/ to match the
lists in maint.mk and announce-gen.  Without this, "make stable"
would fail to ensure that $(VERSION) is up to date.
(cherry picked from commit fdaeccfb8561f0727fb7473eec5085cb2a86b4e6)

ChangeLog
NEWS.stable
top/GNUmakefile

index 66e5c73..b68d22a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-10-15  Jim Meyering  <meyering@redhat.com>
+
+       GNUmakefile: handle "stable" target, not "major"
+       * top/GNUmakefile (_is-dist-target): s/major/stable/ to match the
+       lists in maint.mk and announce-gen.  Without this, "make stable"
+       would fail to ensure that $(VERSION) is up to date.
+
 2010-10-14  Bruno Haible  <bruno@clisp.org>
 
        vasnprintf: Don't set errno to 0.
index 6fdf09b..7c7f2df 100644 (file)
@@ -13,6 +13,7 @@ with the following additional commits:
     * [b6d1430]->[fef7abe] termios: fix compilation on mingw
     * [74b1e48]->[7bf74f7] socketlib: Fix.
     * [d239853]->[ced7fa1] vasnprintf: Don't set errno to 0.
+    * [fdaeccf]->[] GNUmakefile: handle "stable" target, not "major"
 __NEXTCOMMITMARKER__
 
 ----------------------------------------------------------------------
index 97fea36..0394d98 100644 (file)
@@ -57,7 +57,7 @@ _have-git-version-gen := \
   $(shell test -f $(srcdir)/$(_build-aux)/git-version-gen && echo yes)
 ifeq ($(_have-git-version-gen)0,yes$(MAKELEVEL))
   _is-dist-target ?= $(filter-out %clean, \
-    $(filter maintainer-% dist% alpha beta major,$(MAKECMDGOALS)))
+    $(filter maintainer-% dist% alpha beta stable,$(MAKECMDGOALS)))
   _is-install-target ?= $(filter-out %check, $(filter install%,$(MAKECMDGOALS)))
   ifneq (,$(_is-dist-target)$(_is-install-target))
     _curr-ver := $(shell cd $(srcdir)                          \