forked from len0rd/rockbox
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
This commit is contained in:
parent
82716bbe20
commit
3cfd129cd9
1 changed files with 3 additions and 3 deletions
|
@ -168,6 +168,6 @@ $(BIN2C):
|
||||||
# OS X specifics
|
# OS X specifics
|
||||||
$(OUTPUT).dmg: $(OUTPUT)
|
$(OUTPUT).dmg: $(OUTPUT)
|
||||||
$(info DMG $@)
|
$(info DMG $@)
|
||||||
$(SILENT)$(call mkdir,$(OUTPUT)-dmg))
|
$(SILENT)$(call mkdir,"$(OUTPUT)-$(APPVERSION)")
|
||||||
$(SILENT)cp -p $(OUTPUT) $(OUTPUT)-dmg
|
$(SILENT)cp -p $(OUTPUT) "$(OUTPUT)-$(APPVERSION)"
|
||||||
$(SILENT)hdiutil create -srcfolder $(OUTPUT)-dmg $@
|
$(SILENT)hdiutil create -srcfolder "$(OUTPUT)-$(APPVERSION)" $@
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue