diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-06-29 21:08:57 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-06-30 19:22:54 +0200 |
commit | 3cfd129cd904a29b7065e13e6b9c9806513be121 (patch) | |
tree | e4d5fc185bf2cbc1471721dabc0923414fb40a69 /rbutil/libtools.make | |
parent | 82716bbe206bcf78b8d4d88cb8e09535224f4dae (diff) |
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
Diffstat (limited to 'rbutil/libtools.make')
-rw-r--r-- | rbutil/libtools.make | 6 |
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)" $@ |