summaryrefslogtreecommitdiff
path: root/qtbase.pro
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2012-10-08 17:19:14 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-10 23:27:03 +0200
commit087efb572ace9cbb864c1aab7357916cb7b0428b (patch)
tree4896cf5091cff4c40291d23c94b2a1cf445338f2 /qtbase.pro
parent9adf7fb708963c7bb27dc1fd54aa879395f6cf57 (diff)
downloadqtbase-087efb572ace9cbb864c1aab7357916cb7b0428b.tar.gz
qtbase-087efb572ace9cbb864c1aab7357916cb7b0428b.tar.bz2
qtbase-087efb572ace9cbb864c1aab7357916cb7b0428b.zip
Modularize documenation build
qdocconf files can now reference $QT_INSTALL_DOCS to pick up e.g. global includes, instead of using relative paths. Qt modules will automatically get a doc target that builds and installs into the right place (including supporting shadow-builds) if they set QMAKE_DOCS before loading(qt_module). Change-Id: Ia408385199e56e3ead0afa45645a059d1a8b0d48 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'qtbase.pro')
-rw-r--r--qtbase.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/qtbase.pro b/qtbase.pro
index 48038eb399..59814d707e 100644
--- a/qtbase.pro
+++ b/qtbase.pro
@@ -99,6 +99,10 @@ mkspecs.files -= $$PWD/mkspecs/modules
}
INSTALLS += mkspecs
+global_docs.files = $$PWD/doc/global
+global_docs.path = $$[QT_INSTALL_DOCS]
+INSTALLS += global_docs
+
OTHER_FILES += \
configure \
header.BSD \