summaryrefslogtreecommitdiff
path: root/GNUmakefile.am
diff options
context:
space:
mode:
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>2013-10-18 10:33:26 (GMT)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>2013-10-18 10:33:26 (GMT)
commite5132afb5993161c827ec4d5a958fe17711d3d38 (patch)
treef0b5061567d3d6f4640f7ab06f5798406b129e2b /GNUmakefile.am
parent2de37d30e146e307d5fb03cb021754f695aac725 (diff)
downloadWebKit-e5132afb5993161c827ec4d5a958fe17711d3d38.tar.gz
WebKit-e5132afb5993161c827ec4d5a958fe17711d3d38.tar.xz
[GTK] Generate API documentation for GObject DOM bindings
https://bugs.webkit.org/show_bug.cgi?id=121538 Reviewed by Gustavo Noronha Silva. .: * GNUmakefile.am: Initialize gdom_symbol_files variable. Source/WebCore: * bindings/gobject/GNUmakefile.am: Add a explicit rule for all .symbols file making them depend on the corresponding header file, since the .symbols file is generated by the bindings generator. Tools: The .symbols file that is now generated for checking GObject DOM bindings API compatibility while building can also be used to generate the files needed to produce the gtk-doc documentation. The new script generate-webkitdom-doc-files can generate the docs.sgml and sections.txt files from the given list of .symbols files. * gtk/GNUmakefile.am: Add rules to generate webkitdomgtk-docs.sgml and webkitdomgtk-sections.txt as well as rules to install the generated WebKitDOMGTK documentation. * gtk/generate-gtkdoc: (webkitdom_docs_html_path): New helper function that returns the path where the DOM API documentation has been generated. (get_webkit2_options): Include DOM API docs to the list of xref dependencies. (get_webkit1_options): Ditto. (get_webkitdom_options): Return the gtk-doc options to generate the DOM API docs. (get_webkitdom_options.derived_sources_path): (get_webkitdom_options.src_path): * gtk/generate-webkitdom-doc-files: Added. (WebKitDOMDocGenerator): (WebKitDOMDocGenerator.write_header): (WebKitDOMDocGenerator.write_section): (WebKitDOMDocGenerator.write_footer): (WebKitDOMDocGeneratorDocs): (WebKitDOMDocGeneratorDocs.write_header): (write_section): (write_footer): (WebKitDOMDocGeneratorSections): (WebKitDOMDocGeneratorSections.__init__): (WebKitDOMDocGeneratorSections._dom_class): (WebKitDOMDocGeneratorSections._dom_class_decamelize): (WebKitDOMDocGeneratorSections._symbol_list): (WebKitDOMDocGeneratorSections.write_section): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Diffstat (limited to 'GNUmakefile.am')
-rw-r--r--GNUmakefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/GNUmakefile.am b/GNUmakefile.am
index 78d89e5..9af8e03 100644
--- a/GNUmakefile.am
+++ b/GNUmakefile.am
@@ -122,6 +122,7 @@ DOMAIN :=
DISTCLEANFILES :=
MAINTAINERCLEANFILES :=
pkgconfig_DATA :=
+gdom_symbol_files :=
if ENABLE_INTROSPECTION
gir_DATA :=
@@ -287,3 +288,7 @@ if ENABLE_WEBKIT2
@-cp ./Documentation/webkit2gtk/tmpl/*.sgml $(distdir)/Documentation/webkit2gtk/tmpl
@cp ./Documentation/webkit2gtk/html/* $(distdir)/Documentation/webkit2gtk/html
endif
+ @mkdir -p $(distdir)/Documentation/webkitdomgtk/html
+ @mkdir -p $(distdir)/Documentation/webkitdomgtk/tmpl
+ @-cp ./Documentation/webkitdomgtk/tmpl/*.sgml $(distdir)/Documentation/webkitdomgtk/tmpl
+ @cp ./Documentation/webkitdomgtk/html/* $(distdir)/Documentation/webkitdomgtk/html \ No newline at end of file