diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2010-03-02 14:00:55 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2010-03-04 12:13:44 (GMT) |
commit | 1a666089d84cb85ec8e2bda3fe0fff6f2ec2ec4a (patch) | |
tree | 393f69f0fff1136ae0841121e231425a68af32c4 | |
parent | edb37d5ab12c061b6085d0a84fcf075faf2dba54 (diff) | |
download | Qt-1a666089d84cb85ec8e2bda3fe0fff6f2ec2ec4a.zip Qt-1a666089d84cb85ec8e2bda3fe0fff6f2ec2ec4a.tar.gz Qt-1a666089d84cb85ec8e2bda3fe0fff6f2ec2ec4a.tar.bz2 |
Allow building documentation without all of Qt
added a new make target 'sub-qdoc3' which builds qdoc3 and it's dependencies
only, so that when running "make docs" we don't build all of sub-tools
(including declarative module), but qdoc3 only
Reviewed-by: David Boddie
Reviewed-by: Joao
-rw-r--r-- | doc/doc.pri | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/doc.pri b/doc/doc.pri index aea5b08..3d04049 100644 --- a/doc/doc.pri +++ b/doc/doc.pri @@ -43,11 +43,11 @@ win32-g++:isEmpty(QMAKE_SH) { # Build rules: adp_docs.commands = ($$QDOC $$ADP_DOCS_QDOCCONF_FILE) -adp_docs.depends += sub-tools # qdoc3 +adp_docs.depends += sub-qdoc3 # qdoc3 qch_docs.commands = $$QT_DOCUMENTATION -qch_docs.depends += sub-tools +qch_docs.depends += sub-qdoc3 -docs.depends = adp_docs qch_docs +docs.depends = sub-qdoc3 adp_docs qch_docs docs_zh_CN.depends = docs docs_zh_CN.commands = $$QT_ZH_CN_DOCUMENTATION @@ -64,5 +64,8 @@ qchdocs.CONFIG += no_check_exist docimages.files = $$QT_BUILD_TREE/doc/src/images docimages.path = $$[QT_INSTALL_DOCS]/src -QMAKE_EXTRA_TARGETS += qdoc adp_docs qch_docs docs docs_zh_CN +sub-qdoc3.depends = sub-corelib sub-xml +sub-qdoc3.commands += (cd tools/qdoc3 && $(MAKE)) + +QMAKE_EXTRA_TARGETS += sub-qdoc3 adp_docs qch_docs docs docs_zh_CN INSTALLS += htmldocs qchdocs docimages |