aboutsummaryrefslogtreecommitdiffstats
path: root/doc/doc.pri
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2017-03-10 14:46:22 +0100
committerEike Ziller <eike.ziller@qt.io>2017-03-13 10:11:05 +0000
commitae1d99eafb2268eb44eb2d74d7098bf88159b8c9 (patch)
treea152072e0ad36e907a627dbd4106fee59148977b /doc/doc.pri
parent0d2860d1ec6d62a7fc42dbbabd87c1116c252145 (diff)
Refactor documentation generation
Update doc_targets.pri to changes made in Qt Creator and create a pri file for Qbs documentation for inclusion in Qt Creator. Change-Id: I8c3258c193d3e526e6a345c0efee18dcdd11cfc8 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'doc/doc.pri')
-rw-r--r--doc/doc.pri23
1 files changed, 6 insertions, 17 deletions
diff --git a/doc/doc.pri b/doc/doc.pri
index 052790f2f..84583a870 100644
--- a/doc/doc.pri
+++ b/doc/doc.pri
@@ -1,24 +1,13 @@
include(../src/install_prefix.pri)
-QDOC_BIN = $$shell_path($$[QT_INSTALL_BINS]/qdoc)
-QDOC_MAINFILE = $$PWD/qbs.qdocconf
-HELPGENERATOR = $$shell_path($$[QT_INSTALL_BINS]/qhelpgenerator)
+include(doc_shared.pri)
-include(doc_targets.pri)
+DOC_OUTDIR_POSTFIX = /html
+DOC_HTML_INSTALLDIR = $$QBS_INSTALL_PREFIX/share/doc/qbs
+DOC_QCH_OUTDIR = $$OUT_PWD/doc
+DOC_QCH_INSTALLDIR = $$QBS_INSTALL_PREFIX/share/doc/qbs
-html_docs.depends = qbs_html_docs
-html_docs_online.depends = qbs_html_docs_online
-qch_docs.depends = qbs_qch_docs
-docs_online.depends = qbs_docs_online
-install_docs.depends = qbs_install_docs
-docs.depends = qbs_docs
-QMAKE_EXTRA_TARGETS += \
- docs \
- docs_online \
- html_docs \
- html_docs_online \
- install_docs \
- qch_docs
+include(doc_targets.pri)
fixnavi.commands = \
cd $$shell_path($$PWD) && \