Doc: Use the module "make docs" and rename qtquick "make docs".
authorCasper van Donderen <casper.vandonderen@nokia.com>
Fri, 22 Jun 2012 08:30:26 +0000 (10:30 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 25 Jun 2012 08:39:23 +0000 (10:39 +0200)
The qtquick "make docs" is now renamed to "make qtquick_docs" and when
you use "make docs" you get the automatic make command generated by qmake
for modularized documentation.

Change-Id: I23c0e52fa9c235f76df430f992201723ddcfbbea
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
doc/config/qtdeclarative_doc.pri
src/qml/qml.pro
src/quick/quick.pro

index c2cf908..411e50c 100644 (file)
@@ -15,11 +15,11 @@ $$unixstyle {
     DITA_DOCS = $$replace(ONLINE_CONF, "/", "\\")
 }
 
-online_docs.commands = $$QDOC $$ONLINE_CONF
-dita_docs.commands = $$QDOC $$DITA_CONF
+qtquick_online_docs.commands = $$QDOC $$ONLINE_CONF
+qtquick_dita_docs.commands = $$QDOC $$DITA_CONF
 
-docs.depends = dita_docs online_docs
-QMAKE_EXTRA_TARGETS = docs dita_docs online_docs
+qtquick_docs.depends = qtquick_dita_docs qtquick_online_docs
+QMAKE_EXTRA_TARGETS = qtquick_docs qtquick_dita_docs qtquick_online_docs
 QMAKE_CLEAN += \
                "-r $$PWD/html" \
                "-r $$PWD/ditaxml"
index 0af39da..f4b2a23 100644 (file)
@@ -23,6 +23,8 @@ exists("qqml_enable_gcov") {
 
 load(qt_module_config)
 
+QMAKE_DOCS = $$PWD/doc/qtqml.qdocconf
+
 # private dependencies
 QT += v8-private
 
index 7f7a0c2..e5ad858 100644 (file)
@@ -19,6 +19,8 @@ exists("qqml_enable_gcov") {
 
 load(qt_module_config)
 
+QMAKE_DOCS = $$PWD/doc/qtquick.qdocconf
+
 # private dependencies
 QT += v8-private network