Title: [106805] trunk/Tools
Revision
106805
Author
carlo...@webkit.org
Date
2012-02-06 06:54:38 -0800 (Mon, 06 Feb 2012)

Log Message

[GTK] Make sure html_dir exists before calling gtkdoc-rebase
https://bugs.webkit.org/show_bug.cgi?id=77869

Reviewed by Philippe Normand.

* gtk/gtkdoc.py:
(GTKDoc.rebase_installed_docs): Check html_dir exists.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (106804 => 106805)


--- trunk/Tools/ChangeLog	2012-02-06 14:18:14 UTC (rev 106804)
+++ trunk/Tools/ChangeLog	2012-02-06 14:54:38 UTC (rev 106805)
@@ -1,3 +1,13 @@
+2012-02-06  Carlos Garcia Campos  <cgar...@igalia.com>
+
+        [GTK] Make sure html_dir exists before calling gtkdoc-rebase
+        https://bugs.webkit.org/show_bug.cgi?id=77869
+
+        Reviewed by Philippe Normand.
+
+        * gtk/gtkdoc.py:
+        (GTKDoc.rebase_installed_docs): Check html_dir exists.
+
 2012-02-03  Jocelyn Turcotte  <jocelyn.turco...@nokia.com>
 
         [Qt] Don't version QtWebKit.experimental.

Modified: trunk/Tools/gtk/gtkdoc.py (106804 => 106805)


--- trunk/Tools/gtk/gtkdoc.py	2012-02-06 14:18:14 UTC (rev 106804)
+++ trunk/Tools/gtk/gtkdoc.py	2012-02-06 14:54:38 UTC (rev 106805)
@@ -357,6 +357,8 @@
 
     def rebase_installed_docs(self):
         html_dir = os.path.join(self.prefix, 'share', 'gtk-doc', 'html', self.module_name)
+        if not os.path.isdir(html_dir):
+            return
         args = ['gtkdoc-rebase',
                 '--relative',
                 '--html-dir=%s' % html_dir]
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to