From 37c9732c4c729c10d494769b7c0d04bdfba6902f Mon Sep 17 00:00:00 2001 From: Danny Canter Date: Mon, 16 Jun 2025 23:11:58 -0700 Subject: [PATCH] makefile: Change build_bin_dir to be lazily evaluated (#221) The bin directory for placing built binaries to should be lazily evaluated, as we change BUILD_CONFIGURATION during `make release`. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2eba0398..5e9cbde1 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ export GIT_COMMIT := $(shell git rev-parse HEAD) SWIFT := "/usr/bin/swift" DESTDIR ?= /usr/local/ ROOT_DIR := $(shell git rev-parse --show-toplevel) -BUILD_BIN_DIR := $(shell $(SWIFT) build -c $(BUILD_CONFIGURATION) --show-bin-path) +BUILD_BIN_DIR = $(shell $(SWIFT) build -c $(BUILD_CONFIGURATION) --show-bin-path) STAGING_DIR := bin/$(BUILD_CONFIGURATION)/staging/ PKG_PATH := bin/$(BUILD_CONFIGURATION)/container-installer-unsigned.pkg DSYM_DIR := bin/$(BUILD_CONFIGURATION)/bundle/container-dSYM