Makefile: do not rebuild when creating a DMG [mac]

Do not rebuild a GUI target when creating a DMG - on the executable has
been already run macdeployqt and thus library paths are already fixed.
This commit is contained in:
Martin Pulec
2020-04-07 11:09:45 +02:00
parent f8d756d165
commit e57c607fd1

View File

@@ -644,7 +644,9 @@ bundle-nolib: $(BUNDLE)
bundle: $(BUNDLE)/Contents/libs
gui-bundle: $(GUI_BUNDLE)/Contents/libs
osx-gui-dmg: $(GUI_BUNDLE)/Contents/libs
## @todo Add correct dependencies (using $(GUI_BUNDLE)/Contents/libs causes
## uv-qt rebuild which breaks fixed links by macdeployqt)
osx-gui-dmg:
[ ! -f UltraGrid.dmg ] || rm UltraGrid.dmg
hdiutil create -volname ULTRAGRID -srcdir $(GUI_BUNDLE) -format UDZO -imagekey zlib-level=9 -o UltraGrid.dmg