GNUmakefile: handle "stable" target, not "major"
authorJim Meyering <meyering@redhat.com>
Fri, 15 Oct 2010 18:12:52 +0000 (20:12 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 15 Oct 2010 18:12:52 +0000 (20:12 +0200)
* 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.

ChangeLog
top/GNUmakefile

index fcdc6287f372416a34c39164df7fe84808840d1c..40ca4066fa3ee63e529833569073927188f3a496 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-15  Ludovic Courtès  <ludo@gnu.org>
 
        * lib/isnan.c (FUNC): Treat TinyCC (`__TINYC__') like `__SUNPRO_C'
index 97fea36538ede78263a9f78a3293c9155c0bc45d..0394d986988576814bd24356a9b5626ba4d3fcb2 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)                          \