summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-06-29 21:08:57 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-06-30 19:22:54 +0200
commit3cfd129cd904a29b7065e13e6b9c9806513be121 (patch)
treee4d5fc185bf2cbc1471721dabc0923414fb40a69
parent82716bbe206bcf78b8d4d88cb8e09535224f4dae (diff)
downloadrockbox-3cfd129cd9.tar.gz
rockbox-3cfd129cd9.tar.bz2
rockbox-3cfd129cd9.zip
mac: Fix build rule for dmg.
Also add the version string to the folder used for creating the dmg, since that will appear when mounting it. Change-Id: Ibf5918bf51ae37082d7b2ca5baf919319f6e568d
-rw-r--r--rbutil/libtools.make6
1 files changed, 3 insertions, 3 deletions
diff --git a/rbutil/libtools.make b/rbutil/libtools.make
index fdaaa81d34..f9affdd9d4 100644
--- a/rbutil/libtools.make
+++ b/rbutil/libtools.make
@@ -168,6 +168,6 @@ $(BIN2C):
# OS X specifics
$(OUTPUT).dmg: $(OUTPUT)
$(info DMG $@)
- $(SILENT)$(call mkdir,$(OUTPUT)-dmg))
- $(SILENT)cp -p $(OUTPUT) $(OUTPUT)-dmg
- $(SILENT)hdiutil create -srcfolder $(OUTPUT)-dmg $@
+ $(SILENT)$(call mkdir,"$(OUTPUT)-$(APPVERSION)")
+ $(SILENT)cp -p $(OUTPUT) "$(OUTPUT)-$(APPVERSION)"
+ $(SILENT)hdiutil create -srcfolder "$(OUTPUT)-$(APPVERSION)" $@