Changeset 128367 in webkit


Ignore:
Timestamp:
Sep 12, 2012 3:13:44 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] We attempt to rebase documentation even if it's not present
https://bugs.webkit.org/show_bug.cgi?id=96553

Patch by Xan Lopez <xlopez@igalia.com> on 2012-09-12
Reviewed by Martin Robinson.

Do not make the documentation rebase step fatal. This allows make
install to succeed when there's no documentation generated.

  • gtk/generate-gtkdoc:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r128364 r128367  
     12012-09-12  Xan Lopez  <xlopez@igalia.com>
     2
     3        [GTK] We attempt to rebase documentation even if it's not present
     4        https://bugs.webkit.org/show_bug.cgi?id=96553
     5
     6        Reviewed by Martin Robinson.
     7
     8        Do not make the documentation rebase step fatal. This allows make
     9        install to succeed when there's no documentation generated.
     10
     11        * gtk/generate-gtkdoc:
     12
    1132012-09-12  Kenneth Rohde Christiansen  <kenneth@webkit.org>
    214
  • trunk/Tools/gtk/generate-gtkdoc

    r127475 r128367  
    174174    else:
    175175        print "Rebasing WebKit1 documentation..."
    176         generator.rebase_installed_docs()
     176        try:
     177            generator.rebase_installed_docs()
     178        except Exception,e:
     179            print "Rebase did not happen, likely no documentation is present."
    177180
    178181# WebKit2 might not be enabled, so check for the pkg-config file before building documentation.
     
    185188    else:
    186189        print "\nRebasing WebKit2 documentation..."
    187         generator.rebase_installed_docs()
     190        try:
     191            generator.rebase_installed_docs()
     192        except Exception,e:
     193            print "Rebase did not happen, likely no documentation is present."
    188194
    189195sys.exit(saw_webkit1_warnings or saw_webkit2_warnings)
Note: See TracChangeset for help on using the changeset viewer.