Xcode/SDL/SDL.xcodeproj/project.pbxproj
changeset 9613 5d7389abafec
parent 9577 05445a09a406
child 10176 3115d38204aa
equal deleted inserted replaced
9612:9b60f0a1cae8 9613:5d7389abafec
  2389 			buildActionMask = 12;
  2389 			buildActionMask = 12;
  2390 			files = (
  2390 			files = (
  2391 			);
  2391 			);
  2392 			runOnlyForDeploymentPostprocessing = 0;
  2392 			runOnlyForDeploymentPostprocessing = 0;
  2393 			shellPath = /bin/sh;
  2393 			shellPath = /bin/sh;
  2394 			shellScript = "# Sign framework\nif [ \"$SDL_CODESIGN_IDENTITY\" != \"\" ]; then\n    codesign --force --sign \"$SDL_CODESIGN_IDENTITY\" $TARGET_BUILD_DIR/SDL2.framework/Versions/A\nfi\n\n# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\nxcrun CpMac -r $TARGET_BUILD_DIR/SDL2.framework build/dmg-tmp/\n\ncp pkg-support/resources/License.txt 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)\nfind build/dmg-tmp -name .DS_Store -exec rm -f \"{}\" \\;\n\n# for fancy .dmg\nmkdir -p build/dmg-tmp/.logo\ncp pkg-support/resources/SDL_DS_Store build/dmg-tmp/.DS_Store\ncp pkg-support/sdl_logo.pdf build/dmg-tmp/.logo\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname SDL2 -srcfolder build/dmg-tmp build/SDL2.dmg\n\n# clean up\nrm -rf build/dmg-tmp";
  2394 			shellScript = "# Sign framework\nif [ \"$SDL_CODESIGN_IDENTITY\" != \"\" ]; then\n    codesign --force --deep --sign \"$SDL_CODESIGN_IDENTITY\" $TARGET_BUILD_DIR/SDL2.framework/Versions/A\nfi\n\n# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\nxcrun CpMac -r $TARGET_BUILD_DIR/SDL2.framework build/dmg-tmp/\n\ncp pkg-support/resources/License.txt 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)\nfind build/dmg-tmp -name .DS_Store -exec rm -f \"{}\" \\;\n\n# for fancy .dmg\nmkdir -p build/dmg-tmp/.logo\ncp pkg-support/resources/SDL_DS_Store build/dmg-tmp/.DS_Store\ncp pkg-support/sdl_logo.pdf build/dmg-tmp/.logo\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname SDL2 -srcfolder build/dmg-tmp build/SDL2.dmg\n\n# clean up\nrm -rf build/dmg-tmp";
  2395 		};
  2395 		};
  2396 /* End PBXShellScriptBuildPhase section */
  2396 /* End PBXShellScriptBuildPhase section */
  2397 
  2397 
  2398 /* Begin PBXSourcesBuildPhase section */
  2398 /* Begin PBXSourcesBuildPhase section */
  2399 		BECDF62C0761BA81005FE872 /* Sources */ = {
  2399 		BECDF62C0761BA81005FE872 /* Sources */ = {