From a5dcb46e67e890701e35b126322fbd78627ec16a Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 15 Feb 2021 05:08:00 +0000 Subject: [PATCH] Use -universal suffix for macos-universal dmgs Signed-off-by: falkTX --- Makefile.dist.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.dist.mk b/Makefile.dist.mk index c2b667d45..c7c3e8503 100644 --- a/Makefile.dist.mk +++ b/Makefile.dist.mk @@ -151,7 +151,9 @@ endif # --------------------------------------------------------------------------------------------------------------------- # entry point -ifeq ($(MACOS),true) +ifeq ($(MACOS_UNIVERSAL),true) +TARGETS = Carla-$(VERSION)-macOS-universal.dmg +else ifeq ($(MACOS),true) TARGETS = Carla-$(VERSION)-macOS.dmg else ifeq ($(WIN64),true) TARGETS = Carla-$(VERSION)-win64.zip @@ -164,7 +166,7 @@ dist: $(TARGETS) # --------------------------------------------------------------------------------------------------------------------- # create final file -Carla-$(VERSION)-macOS.dmg: build/Carla.app/Contents/Info.plist build/Carla-Control.app/Contents/Info.plist build/Carla-Plugins.pkg +Carla-$(VERSION)-macOS.dmg Carla-$(VERSION)-macOS-universal.dmg: build/Carla.app/Contents/Info.plist build/Carla-Control.app/Contents/Info.plist build/Carla-Plugins.pkg rm -rf build/macos-pkg $@ mkdir build/macos-pkg cp -r build/Carla.app build/Carla-Control.app build/Carla-Plugins.pkg data/macos/README build/macos-pkg/