Changeset 39931 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jan 14, 2009, 9:40:30 PM (16 years ago)
Author:
[email protected]
Message:

Bug 23153: JSC build always touches JavaScriptCore/docs/bytecode.html

<https://bugs.webkit.org/show_bug.cgi?id=23153>

Reviewed by Darin Adler.

Instead of building bytecode.html into ${SRCROOT}/docs/bytecode.html, build it
into ${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore/docs/bytecode.html.

Also fixes make-bytecode-docs.pl to actually generate documentation.

  • DerivedSources.make: Changed bytecode.html to be built into local docs directory in ${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore.
  • JavaScriptCore.xcodeproj/project.pbxproj: Added "/docs" to the end of the "mkdir -p" command so that the docs subdirectory is automatically created.
  • docs/make-bytecode-docs.pl: Changed BEGIN_OPCODE to DEFINE_OPCODE so that documentation is actually generated.
Location:
trunk/JavaScriptCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r39917 r39931  
     12009-01-14  David Kilzer  <[email protected]>
     2
     3        Bug 23153: JSC build always touches JavaScriptCore/docs/bytecode.html
     4
     5        <https://bugs.webkit.org/show_bug.cgi?id=23153>
     6
     7        Reviewed by Darin Adler.
     8
     9        Instead of building bytecode.html into ${SRCROOT}/docs/bytecode.html, build it
     10        into ${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore/docs/bytecode.html.
     11
     12        Also fixes make-bytecode-docs.pl to actually generate documentation.
     13
     14        * DerivedSources.make: Changed bytecode.html to be built into local docs
     15        directory in ${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore.
     16        * JavaScriptCore.xcodeproj/project.pbxproj: Added "/docs" to the end of the
     17        "mkdir -p" command so that the docs subdirectory is automatically created.
     18        * docs/make-bytecode-docs.pl: Changed BEGIN_OPCODE to DEFINE_OPCODE so that
     19        documentation is actually generated.
     20
    1212009-01-14  Adam Treat  <[email protected]>
    222
  • trunk/JavaScriptCore/DerivedSources.make

    r39554 r39931  
    4747    RegExpObject.lut.h \
    4848    StringPrototype.lut.h \
    49     $(JavaScriptCore)/docs/bytecode.html \
     49    docs/bytecode.html \
    5050#
    5151
     
    7272        $^ $@
    7373
    74 $(JavaScriptCore)/docs/bytecode.html: make-bytecode-docs.pl Interpreter.cpp
     74docs/bytecode.html: make-bytecode-docs.pl Interpreter.cpp
    7575        perl $^ $@
  • trunk/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj

    r39784 r39931  
    19271927                        runOnlyForDeploymentPostprocessing = 0;
    19281928                        shellPath = /bin/sh;
    1929                         shellScript = "mkdir -p \"${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore\"\ncd \"${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore\"\n\nln -sfh \"${SRCROOT}\" JavaScriptCore\nexport JavaScriptCore=\"JavaScriptCore\"\nexport BUILT_PRODUCTS_DIR=\"../..\"\n\nmake -f \"JavaScriptCore/DerivedSources.make\" -j `/usr/sbin/sysctl -n hw.ncpu`\n";
     1929                        shellScript = "mkdir -p \"${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore/docs\"\ncd \"${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore\"\n\nln -sfh \"${SRCROOT}\" JavaScriptCore\nexport JavaScriptCore=\"JavaScriptCore\"\nexport BUILT_PRODUCTS_DIR=\"../..\"\n\nmake -f \"JavaScriptCore/DerivedSources.make\" -j `/usr/sbin/sysctl -n hw.ncpu`\n";
    19301930                };
    19311931                9319586B09D9F91A00A56FD4 /* Check For Global Initializers */ = {
  • trunk/JavaScriptCore/docs/make-bytecode-docs.pl

    r33979 r39931  
    1111
    1212while (<MACHINE>) {
    13     if (/^ *BEGIN_OPCODE/) {
     13    if (/^ *DEFINE_OPCODE/) {
    1414        chomp;
    15         s/^ *BEGIN_OPCODE\(op_//;
     15        s/^ *DEFINE_OPCODE\(op_//;
    1616        s/\).*$//;
    1717        my $opcode = $_;
Note: See TracChangeset for help on using the changeset viewer.