Browse Source

Use -universal suffix for macos-universal dmgs

Signed-off-by: falkTX <falktx@falktx.com>
pull/1356/head
falkTX 3 years ago
parent
commit
106a8a9faf
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      Makefile.dist.mk

+ 4
- 2
Makefile.dist.mk View File

@@ -151,7 +151,9 @@ endif
# --------------------------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------------------------
# entry point # entry point


ifeq ($(MACOS),true)
ifeq ($(MACOS_UNIVERSAL),true)
TARGETS = Carla-$(VERSION)-macOS-universal.dmg
else ifeq ($(MACOS),true)
TARGETS = Carla-$(VERSION)-macOS.dmg TARGETS = Carla-$(VERSION)-macOS.dmg
else ifeq ($(WIN64),true) else ifeq ($(WIN64),true)
TARGETS = Carla-$(VERSION)-win64.zip TARGETS = Carla-$(VERSION)-win64.zip
@@ -164,7 +166,7 @@ dist: $(TARGETS)
# --------------------------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------------------------
# create final file # 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 $@ rm -rf build/macos-pkg $@
mkdir 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/ cp -r build/Carla.app build/Carla-Control.app build/Carla-Plugins.pkg data/macos/README build/macos-pkg/


Loading…
Cancel
Save