mirror of
https://github.com/apple/container.git
synced 2026-08-24 10:05:43 -05:00
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`.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user