Fixed bug 4742 - SDL 2.0.10 DMG has duplicated files (instead of symlinks)
authorSam Lantinga <slouken@libsdl.org>
Tue, 30 Jul 2019 10:16:02 -0700
changeset 683f1baffa48926
parent 682 6950f1d21f82
child 684 ba45f00879ba
Fixed bug 4742 - SDL 2.0.10 DMG has duplicated files (instead of symlinks)
Xcode/SDL_image.xcodeproj/project.pbxproj
     1.1 --- a/Xcode/SDL_image.xcodeproj/project.pbxproj	Thu Jul 11 01:10:28 2019 +0300
     1.2 +++ b/Xcode/SDL_image.xcodeproj/project.pbxproj	Tue Jul 30 10:16:02 2019 -0700
     1.3 @@ -401,7 +401,7 @@
     1.4  			);
     1.5  			runOnlyForDeploymentPostprocessing = 0;
     1.6  			shellPath = /bin/sh;
     1.7 -			shellScript = "PRODUCT_NAME=SDL2_image\n\n# Sign framework\nif [ \"$SDL_CODESIGN_IDENTITY\" != \"\" ]; then\n    codesign --force --deep --sign \"$SDL_CODESIGN_IDENTITY\" $TARGET_BUILD_DIR/$PRODUCT_NAME.framework/Versions/A || exit $?\nfi\n\n# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\ncp -r $TARGET_BUILD_DIR/$PRODUCT_NAME.framework build/dmg-tmp/\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nrm -rf build/dmg-tmp/.DS_Store\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname $PRODUCT_NAME -srcfolder build/dmg-tmp build/$PRODUCT_NAME.dmg\n\n# clean up\nrm -rf build/dmg-tmp\n";
     1.8 +			shellScript = "PRODUCT_NAME=SDL2_image\n\n# Sign framework\nif [ \"$SDL_CODESIGN_IDENTITY\" != \"\" ]; then\n    codesign --force --deep --sign \"$SDL_CODESIGN_IDENTITY\" $TARGET_BUILD_DIR/$PRODUCT_NAME.framework/Versions/A || exit $?\nfi\n\n# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\ncp -a $TARGET_BUILD_DIR/$PRODUCT_NAME.framework build/dmg-tmp/\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nrm -rf build/dmg-tmp/.DS_Store\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname $PRODUCT_NAME -srcfolder build/dmg-tmp build/$PRODUCT_NAME.dmg\n\n# clean up\nrm -rf build/dmg-tmp\n";
     1.9  		};
    1.10  /* End PBXShellScriptBuildPhase section */
    1.11