docs.pri 859 Bytes
Newer Older
Eike Ziller's avatar
Eike Ziller committed
1 2 3 4
# Creates targets for building Qt Creator documentation
#
# Usage: Include qtcreator.pri and define DOC_FILES to point to a list of qdocconf files,
#        then include this .pri file
5 6 7 8

isEmpty(VERSION): error("Include qtcreator.pri before including docs.pri!")

qtcver.name = QTC_VERSION
9
qtcver.value = $$QTCREATOR_DISPLAY_VERSION
10
qtcvertag.name = QTC_VERSION_TAG
11
qtcvertag.value = $$replace(VERSION, \.,)
12 13 14 15 16 17
qtdocs.name = QT_INSTALL_DOCS
qtdocs.value = $$[QT_INSTALL_DOCS/src]
qdocindex.name = QDOC_INDEX_DIR
qdocindex.value = $$[QT_INSTALL_DOCS]
qtcdocsdir.name = QTC_DOCS_DIR
qtcdocsdir.value = $$IDE_SOURCE_TREE/doc
Eike Ziller's avatar
Eike Ziller committed
18
QDOC_ENV += qtcver qtcvertag qtdocs qdocindex qtcdocsdir
19

Eike Ziller's avatar
Eike Ziller committed
20 21 22 23
DOC_INDEX_PATHS += $$IDE_BUILD_TREE/doc
DOC_HTML_INSTALLDIR = $$INSTALL_DOC_PATH
DOC_QCH_OUTDIR = $$IDE_DOC_PATH
DOC_QCH_INSTALLDIR = $$INSTALL_DOC_PATH
24

Eike Ziller's avatar
Eike Ziller committed
25
include(doc/doc_targets.pri)