summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2011-12-20 12:04:25 (GMT)
committerCasper van Donderen <casper.vandonderen@nokia.com>2011-12-20 12:04:25 (GMT)
commite8523386a8f977ac8b0e57423d8c949bca6ee5b8 (patch)
treeabc4ffab560a47a7cc459a002aeb3660b21545d9 /doc
parentcb416ae734f39464d4481adbc56f57ba06ecadb7 (diff)
downloadQt-e8523386a8f977ac8b0e57423d8c949bca6ee5b8.zip
Qt-e8523386a8f977ac8b0e57423d8c949bca6ee5b8.tar.gz
Qt-e8523386a8f977ac8b0e57423d8c949bca6ee5b8.tar.bz2
Add dita_docs target to generate DITA output.
Diffstat (limited to 'doc')
-rw-r--r--doc/doc.pri5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/doc.pri b/doc/doc.pri
index c51a621..ea2fb2e 100644
--- a/doc/doc.pri
+++ b/doc/doc.pri
@@ -36,6 +36,7 @@ $$unixstyle {
DEMOSMANIFESTTARGET = $$replace(DEMOSMANIFESTTARGET, "/", "\\")
}
ADP_DOCS_QDOCCONF_FILE = qt-build-docs-online.qdocconf
+DITA_DOCS_QDOCCONF_FILE = qt-ditaxml.qdocconf
QT_DOCUMENTATION = ($$QDOC qt-api-only.qdocconf assistant.qdocconf designer.qdocconf \
linguist.qdocconf qmake.qdocconf qdeclarative.qdocconf) && \
(cd $$QT_BUILD_TREE && \
@@ -69,6 +70,8 @@ win32-g++*:isEmpty(QMAKE_SH) {
# Build rules:
adp_docs.commands = ($$QDOC $$ADP_DOCS_QDOCCONF_FILE && $$QMAKE_COPY_DIR $$COPYWEBKITGUIDE $$COPYWEBKITTARGB)
adp_docs.depends += sub-qdoc3 # qdoc3
+dita_docs.commands = ($$QDOC $$DITA_DOCS_QDOCCONF_FILE)
+dita_docs.depends += sub-qdoc3 # qdoc3
qch_docs.commands = $$QT_DOCUMENTATION
qch_docs.depends += sub-qdoc3
@@ -103,5 +106,5 @@ docimages.path = $$[QT_INSTALL_DOCS]/src
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 docs_ja_JP
+QMAKE_EXTRA_TARGETS += sub-qdoc3 adp_docs dita_docs qch_docs docs docs_zh_CN docs_ja_JP
INSTALLS += htmldocs qchdocs docimages examplesmanifest demosmanifest