Makefile: Use a recursively expanded var for `RABBITMQ_VERSION`
This fixes proper propagation of `RABBITMQ_VERSION`. [#130992027]
This commit is contained in:
parent
2c83f8915d
commit
ba5bc15ac4
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ PROJECT_DESCRIPTION = RabbitMQ Server
|
|||
# other components. If PROJECT_VERSION is unset, then an empty variable
|
||||
# is propagated and the default version will fallback to the default
|
||||
# value from rabbitmq-components.mk.
|
||||
export RABBITMQ_VERSION := $(PROJECT_VERSION)
|
||||
export RABBITMQ_VERSION = $(PROJECT_VERSION)
|
||||
|
||||
# Release artifacts are put in $(PACKAGES_DIR).
|
||||
PACKAGES_DIR ?= $(abspath PACKAGES)
|
||||
|
|
|
@ -11,7 +11,7 @@ endif
|
|||
# 3. a version based on git-describe(1), if it is a Git clone;
|
||||
# 4. 0.0.0
|
||||
|
||||
PROJECT_VERSION = $(RABBITMQ_VERSION)
|
||||
PROJECT_VERSION := $(RABBITMQ_VERSION)
|
||||
|
||||
ifeq ($(PROJECT_VERSION),)
|
||||
PROJECT_VERSION := $(shell \
|
||||
|
|
Loading…
Reference in New Issue