From f98ee89047081ea8e615203aca589a655044ee1a Mon Sep 17 00:00:00 2001 From: Matheus Polkorny Date: Wed, 9 Apr 2025 21:23:10 -0300 Subject: [PATCH] Allow overriding VERSION from environment Use ?= instead of := when setting VERSION in the Makefile. This lets pass VERSION without needing to modify the file during build. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6e8eaf1..e7977ac 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -export VERSION := $(shell ./determineVersion.sh) +export VERSION ?= $(shell ./determineVersion.sh) #export PREFIX := /usr export PREFIX ?= /usr/local