* top/maint.mk (VERSION, RELEASE_TYPE): Do not let an environment-
specified RELEASE influence the VERSION and RELEASE_TYPE variables.
Reported by Simon Josefsson in
https://lists.gnu.org/archive/html/bug-gnulib/2024-07/msg00021.html
+2024-07-03 Jim Meyering <meyering@meta.com>
+
+ maintainer-makefile: derive VERSION from RELEASE only from command line
+ * top/maint.mk (VERSION, RELEASE_TYPE): Do not let an environment-
+ specified RELEASE influence the VERSION and RELEASE_TYPE variables.
+ Reported by Simon Josefsson in
+ https://lists.gnu.org/archive/html/bug-gnulib/2024-07/msg00021.html
+
2024-07-02 Bruno Haible <bruno@clisp.org>
git-merge-changelog: Simplify installation instructions.
# If RELEASE_TYPE is undefined, but RELEASE is, use its second word.
# But overwrite VERSION.
ifdef RELEASE
- VERSION := $(word 1, $(RELEASE))
- RELEASE_TYPE ?= $(word 2, $(RELEASE))
+ ifeq ($(origin RELEASE),command line)
+ VERSION := $(word 1,$(RELEASE))
+ RELEASE_TYPE ?= $(word 2,$(RELEASE))
+ endif
endif
# Validate and return $(RELEASE_TYPE), or die.