diff options
author | Topi Reinio <topi.reinio@digia.com> | 2015-02-24 15:25:37 +0100 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@theqtcompany.com> | 2015-04-09 12:51:20 +0300 |
commit | d598f850f9fad6a33dae622ce11a01b8585fe790 (patch) | |
tree | d1d19550d5c2cd2a87a55b1fdc53fd0fa34faefc /src/doc/doc.pro | |
parent | c9bdc565064fbd0a6ed7fe30692899457887c9f4 (diff) |
Doc: Add configuration for building online docs
Add a new configuration file, b2qt-online.qdocconf that is selected
for use whenever 'build_online_docs' CONFIG flag is set.
Separate the common parts of doc config into b2qt-project.qdocconf,
and clean it up by removing unnecessary variables.
Change-Id: I001eee79b5322b515e568b90ee0d36aaf60c53c3
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
Diffstat (limited to 'src/doc/doc.pro')
-rw-r--r-- | src/doc/doc.pro | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/doc/doc.pro b/src/doc/doc.pro index 36dc209..a2fe144 100644 --- a/src/doc/doc.pro +++ b/src/doc/doc.pro @@ -1,3 +1,9 @@ TEMPLATE = aux -QMAKE_DOCS = $$PWD/config/b2qt.qdocconf +build_online_docs: { + QMAKE_DOCS_TARGETDIR = b2qt + QMAKE_DOCS = $$PWD/config/b2qt-online.qdocconf +} else { + QMAKE_DOCS = $$PWD/config/b2qt.qdocconf +} + QMAKE_DOCS_OUTPUTDIR = $$OUT_PWD/b2qt |