# HG changeset patch # User Jim Meyering # Date 1287166372 -7200 # Node ID 62af42b5aad94ff577ca92223cda7f4006aafba9 # Parent 829f93de17edf820215107f46be9179a96e057d7 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. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-10-15 Jim Meyering + + 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 * lib/isnan.c (FUNC): Treat TinyCC (`__TINYC__') like `__SUNPRO_C' diff --git a/top/GNUmakefile b/top/GNUmakefile --- a/top/GNUmakefile +++ b/top/GNUmakefile @@ -57,7 +57,7 @@ $(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) \