Skip to content
Snippets Groups Projects
Commit 748b8c78 authored by Albert Gräf's avatar Albert Gräf Committed by Albert Gräf
Browse files

Mac build fixes

parent 21679ed0
No related branches found
No related tags found
No related merge requests found
...@@ -181,6 +181,7 @@ package: dmg ...@@ -181,6 +181,7 @@ package: dmg
VOLUME_NAME = Pd-l2ork VOLUME_NAME = Pd-l2ork
dmg: dmg:
rm -f build.dmg
hdiutil create -format UDRW -fs HFS+ -srcfolder "$(BUILD_BASE)" \ hdiutil create -format UDRW -fs HFS+ -srcfolder "$(BUILD_BASE)" \
-volname $(VOLUME_NAME) build.dmg -volname $(VOLUME_NAME) build.dmg
# detach one with the same name first # detach one with the same name first
...@@ -209,6 +210,7 @@ dmg: ...@@ -209,6 +210,7 @@ dmg:
DESTDIR="/Volumes/$(VOLUME_NAME)/*.app/Contents/Resources" doc_format DESTDIR="/Volumes/$(VOLUME_NAME)/*.app/Contents/Resources" doc_format
chmod -R a-w /Volumes/$(VOLUME_NAME)/*.app/Contents/Resources chmod -R a-w /Volumes/$(VOLUME_NAME)/*.app/Contents/Resources
hdiutil detach `mount | grep $(VOLUME_NAME) | cut -d ' ' -f 1` hdiutil detach `mount | grep $(VOLUME_NAME) | cut -d ' ' -f 1`
rm -f "$(PACKAGE_NAME).dmg"
hdiutil convert -format UDZO -o "$(PACKAGE_NAME).dmg" build.dmg hdiutil convert -format UDZO -o "$(PACKAGE_NAME).dmg" build.dmg
rm -f build.dmg rm -f build.dmg
# install license # install license
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment