summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_docs.prf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2014-05-23 16:30:46 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-06-05 17:11:39 +0200
commit4c7ad3a4a1dae9b4a77cf73b079d733c9af34f87 (patch)
tree89b59d9feec8a25f3f3df18cc6446397234eaaa4 /mkspecs/features/qt_docs.prf
parent939d021813974949cc21e56bf70c4340ea14fba9 (diff)
don't check for doc/ dirs' existence
the doc/ dirs in the build dir won't be created until the docs have been built, so of course checking whether they are there during the qmake phase is counterproductive. this also means that we'll get some complaints about non-existing directories (for repos that don't create any docs). there is no reasonable way to query qmake which repos are affected, and writing shell-specific code to query it at make time seems a bit overengineered. Task-number: QTBUG-38862 Change-Id: Ie0588e75bfc39718fffd46f0df6785428e396eb2 Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
Diffstat (limited to 'mkspecs/features/qt_docs.prf')
-rw-r--r--mkspecs/features/qt_docs.prf3
1 files changed, 1 insertions, 2 deletions
diff --git a/mkspecs/features/qt_docs.prf b/mkspecs/features/qt_docs.prf
index 495b649b4a..957b5de83a 100644
--- a/mkspecs/features/qt_docs.prf
+++ b/mkspecs/features/qt_docs.prf
@@ -25,8 +25,7 @@ QDOC += -outputdir $$QMAKE_DOCS_OUTPUTDIR
DOC_INDEXES =
!isEmpty(QTREPOS) {
for(qrep, QTREPOS): \
- exists($$qrep/doc): \
- DOC_INDEXES += -indexdir $$qrep/doc
+ DOC_INDEXES += -indexdir $$qrep/doc
} else {
DOC_INDEXES += -indexdir $$[QT_INSTALL_DOCS/get]
}