summaryrefslogtreecommitdiff
path: root/top/GNUmakefile
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-10-15 20:12:52 +0200
committerJim Meyering <meyering@redhat.com>2010-10-15 20:12:52 +0200
commitfdaeccfb8561f0727fb7473eec5085cb2a86b4e6 (patch)
tree7c306edcf6f21b344d70cbd76482c193f2e11562 /top/GNUmakefile
parenta271ebc0ecb681aeea89e8610e457aca15a70284 (diff)
downloadgnulib-fdaeccfb8561f0727fb7473eec5085cb2a86b4e6.tar.gz
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.
Diffstat (limited to 'top/GNUmakefile')
-rw-r--r--top/GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/top/GNUmakefile b/top/GNUmakefile
index 97fea36538..0394d98698 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) \