aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2012-06-22 10:30:26 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-25 10:39:23 +0200
commit6b1716df0e7190d3cf63d8b15cefdb8525c05cf6 (patch)
treea66aa3df0d835c3d87d25fe993d51be43b8b74c7
parenta034dc196ebaf82731a8bbe2bf602c5c527c9f76 (diff)
Doc: Use the module "make docs" and rename qtquick "make docs".
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>
-rw-r--r--doc/config/qtdeclarative_doc.pri8
-rw-r--r--src/qml/qml.pro2
-rw-r--r--src/quick/quick.pro2
3 files changed, 8 insertions, 4 deletions
diff --git a/doc/config/qtdeclarative_doc.pri b/doc/config/qtdeclarative_doc.pri
index c2cf908ff4..411e50ce6f 100644
--- a/doc/config/qtdeclarative_doc.pri
+++ b/doc/config/qtdeclarative_doc.pri
@@ -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"
diff --git a/src/qml/qml.pro b/src/qml/qml.pro
index 0af39dae23..f4b2a23f94 100644
--- a/src/qml/qml.pro
+++ b/src/qml/qml.pro
@@ -23,6 +23,8 @@ exists("qqml_enable_gcov") {
load(qt_module_config)
+QMAKE_DOCS = $$PWD/doc/qtqml.qdocconf
+
# private dependencies
QT += v8-private
diff --git a/src/quick/quick.pro b/src/quick/quick.pro
index 7f7a0c2c18..e5ad85877b 100644
--- a/src/quick/quick.pro
+++ b/src/quick/quick.pro
@@ -19,6 +19,8 @@ exists("qqml_enable_gcov") {
load(qt_module_config)
+QMAKE_DOCS = $$PWD/doc/qtquick.qdocconf
+
# private dependencies
QT += v8-private network