From e57c607fd10c8cbc6e2c7e9601edb46b3e95ea5f Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Tue, 7 Apr 2020 11:09:45 +0200 Subject: [PATCH] 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. --- Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index c87e61a96..b2b1cf326 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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