bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] GNUmakefile: handle "stable" target, not "major"


From: Jim Meyering
Subject: [PATCH] GNUmakefile: handle "stable" target, not "major"
Date: Fri, 15 Oct 2010 20:14:18 +0200

Per the procedure described in coreutils' README-release,
I typed "make stable" right after tagging, and was surprised
to see it fail.  Here's the fix:

>From fdaeccfb8561f0727fb7473eec5085cb2a86b4e6 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Fri, 15 Oct 2010 20:12:52 +0200
Subject: [PATCH] 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.
---
 ChangeLog       |    7 +++++++
 top/GNUmakefile |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index fcdc628..40ca406 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-10-15  Jim Meyering  <address@hidden>
+
+       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  <address@hidden>

        * lib/isnan.c (FUNC): Treat TinyCC (`__TINYC__') like `__SUNPRO_C'
diff --git a/top/GNUmakefile b/top/GNUmakefile
index 97fea36..0394d98 100644
--- a/top/GNUmakefile
+++ b/top/GNUmakefile
@@ -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)                          \
--
1.7.3.1.526.g2ee4



reply via email to

[Prev in Thread] Current Thread [Next in Thread]