Create symlink to /usr/local/bin/jsc during installation
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Feb 2014 20:37:51 +0000 (20:37 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Feb 2014 20:37:51 +0000 (20:37 +0000)
<http://webkit.org/b/129399>
<rdar://problem/16168734>

Reviewed by Dan Bernstein.

* JavaScriptCore.xcodeproj/project.pbxproj:
- Add "Create /usr/local/bin/jsc symlink" build phase script to
  create the symlink during installation.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@164823 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj

index d6924d709ff075b3f998331f15cfeed64f44d307..356ad46affb28ac58926415194db9ff31ca28cf5 100644 (file)
@@ -1,3 +1,15 @@
+2014-02-27  David Kilzer  <ddkilzer@apple.com>
+
+        Create symlink to /usr/local/bin/jsc during installation
+        <http://webkit.org/b/129399>
+        <rdar://problem/16168734>
+
+        Reviewed by Dan Bernstein.
+
+        * JavaScriptCore.xcodeproj/project.pbxproj:
+        - Add "Create /usr/local/bin/jsc symlink" build phase script to
+          create the symlink during installation.
+
 2014-02-27  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
 
         Math.{max, min}() must not return after first NaN value
index c999de89fa2e52e3fcc154d2e7ead3ddf20817af..28f522b670cd99beee4a6b80cab6939b06c99765 100644 (file)
                        buildPhases = (
                                932F5BDC0822A1C700736975 /* Sources */,
                                932F5BDE0822A1C700736975 /* Frameworks */,
+                               5D5D8ABF0E0D0B0300F9C692 /* Create /usr/local/bin/jsc symlink */,
                        );
                        buildRules = (
                        );
                        shellPath = /bin/sh;
                        shellScript = "set -e\n\nTRACING_D=\"$SRCROOT/runtime/Tracing.d\";\nTRACING_H=\"$BUILT_PRODUCTS_DIR/DerivedSources/JavaScriptCore/TracingDtrace.h\";\n\nif [[ \"$HAVE_DTRACE\" = \"1\" && \"$TRACING_D\" -nt \"$TRACING_H\" ]];\nthen\n\tdtrace -h -o \"$TRACING_H\" -s \"$TRACING_D\";\nfi;\n";
                };
+               5D5D8ABF0E0D0B0300F9C692 /* Create /usr/local/bin/jsc symlink */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(DSTROOT)$(INSTALL_PATH)/jsc",
+                       );
+                       name = "Create /usr/local/bin/jsc symlink";
+                       outputPaths = (
+                               "$(DSTROOT)$(INSTALL_PATH_PREFIX)/usr/local/bin/jsc",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "if [[ \"${SKIP_INSTALL}\" == \"NO\" ]]; then\n    mkdir -p \"${DSTROOT}${INSTALL_PATH_PREFIX}/usr/local/bin\"\n    cd \"${DSTROOT}${INSTALL_PATH_PREFIX}/usr/local/bin\"\n    ln -s \"../../..${INSTALL_PATH_ACTUAL}/jsc\" jsc\n    exit\nfi\n";
+               };
                5DAFD6CD146B6B6E00FBEFB4 /* Install Support Script */ = {
                        isa = PBXShellScriptBuildPhase;
                        buildActionMask = 8;